|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gvsig.tools.dispose.impl.DefaultDisposableInfo
public class DefaultDisposableInfo
Default DisposableInfo
implementation.
Constructor Summary | |
---|---|
DefaultDisposableInfo(Disposable disposable,
StackTraceElement[] stackTrace)
Creates a new DefaultDisposableInfo with the Disposable
and the stack trace of the moment when the disposable was bound to the
DisposableManager . |
Method Summary | |
---|---|
void |
decReferencesCount()
|
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()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultDisposableInfo(Disposable disposable, 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
boundMethod Detail |
---|
public StackTraceElement[] getBindDisposableStackTrace()
DisposableInfo
Disposable
was
bound.
getBindDisposableStackTrace
in interface DisposableInfo
public Disposable getDisposable()
DisposableInfo
Disposable
whose info belongs to.
getDisposable
in interface DisposableInfo
public String toString()
toString
in class Object
public void incReferencesCount()
public void decReferencesCount()
public int getReferencesCount()
DisposableInfo
getReferencesCount
in interface DisposableInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |