Method Summary |
|
protected void | addTrace(AbandonedTrace trace) Add an object to the list of objects being
traced. |
protected synchronized void | clearTrace() Clear the list of objects being traced by this
object. |
protected AbandonedConfig | getConfig() Get the abandoned config for this object. |
protected long | getLastUsed() Get the last time this object was used in ms. |
protected List | getTrace() Get a list of objects being traced by this object. |
public void | printStackTrace() If logAbandoned=true, print a stack trace of the code that
created this object. |
protected synchronized void | removeTrace(AbandonedTrace trace) Remove a child object this object is tracing. |
protected void | setLastUsed() Set the time this object was last used to the
current time in ms. |
protected void | setLastUsed(long time) Set the time in ms this object was last used. |
protected void | setStackTrace() If logAbandoned=true generate a stack trace
for this object then add this object to the parent
object trace list. |