public class DefaultDisposableInfo extends java.lang.Object implements DisposableInfo
DisposableInfo implementation.| Constructor and Description | 
|---|
DefaultDisposableInfo(Disposable disposable,
                     java.lang.StackTraceElement[] stackTrace,
                     int limit)
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 | 
addStackTrace(java.lang.String label,
             java.lang.StackTraceElement[] stackTrace)  | 
void | 
decReferencesCount()  | 
java.util.List<LabeledValue<java.lang.StackTraceElement[]>> | 
getAllStackTrace()  | 
Disposable | 
getDisposable()
Returns the  
Disposable whose info belongs to. | 
java.lang.StackTraceElement[] | 
getFirstBindDisposableStackTrace()
Returns the stack trace of the first moment when the  
Disposable was
 bound. | 
java.lang.String | 
getFullDescription()  | 
int | 
getReferencesCount()
Returns the count of references 
 | 
void | 
incReferencesCount()  | 
java.lang.String | 
toString()  | 
public DefaultDisposableInfo(Disposable disposable, java.lang.StackTraceElement[] stackTrace, int limit)
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 boundlimit - public java.lang.StackTraceElement[] getFirstBindDisposableStackTrace()
DisposableInfoDisposable was
 bound.getFirstBindDisposableStackTrace in interface DisposableInfopublic final void addStackTrace(java.lang.String label,
                                java.lang.StackTraceElement[] stackTrace)
public Disposable getDisposable()
DisposableInfoDisposable whose info belongs to.getDisposable in interface DisposableInfopublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getFullDescription()
getFullDescription in interface DisposableInfopublic void incReferencesCount()
public void decReferencesCount()
public int getReferencesCount()
DisposableInfogetReferencesCount in interface DisposableInfopublic java.util.List<LabeledValue<java.lang.StackTraceElement[]>> getAllStackTrace()
getAllStackTrace in interface DisposableInfo