public class DefaultDisposableInfo extends java.lang.Object implements DisposableInfo
DisposableInfo implementation.| Constructor and Description |
|---|
DefaultDisposableInfo(Disposable disposable,
java.lang.StackTraceElement[] stackTrace)
Creates a new
DefaultDisposableInfo with the Disposable
and the stack trace of the moment when the disposable was bound to the
DisposableManager. |
| Modifier and Type | Method and Description |
|---|---|
void |
decReferencesCount() |
java.lang.StackTraceElement[] |
getBindDisposableStackTrace()
Returns the stack trace of the moment when the
Disposable was
bound. |
Disposable |
getDisposable()
Returns the
Disposable whose info belongs to. |
int |
getReferencesCount()
Returns the count of references
|
void |
incReferencesCount() |
java.lang.String |
toString() |
public DefaultDisposableInfo(Disposable disposable, java.lang.StackTraceElement[] stackTrace)
DefaultDisposableInfo with the Disposable
and the stack trace of the moment when the disposable was bound to the
DisposableManager.disposable - to info aboutstackTrace - stack trace of the moment when the Disposable was
boundpublic java.lang.StackTraceElement[] getBindDisposableStackTrace()
DisposableInfoDisposable was
bound.getBindDisposableStackTrace in interface DisposableInfopublic Disposable getDisposable()
DisposableInfoDisposable whose info belongs to.getDisposable in interface DisposableInfopublic java.lang.String toString()
toString in class java.lang.Objectpublic void incReferencesCount()
public void decReferencesCount()
public int getReferencesCount()
DisposableInfogetReferencesCount in interface DisposableInfo