|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
com.jrockit.memleak.mlp.AbstractMemLeak.AsyncCallbackThread
protected class AbstractMemLeak.AsyncCallbackThread
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
AbstractMemLeak.AsyncCallbackThread(com.jrockit.memleak.mlp.CommunicationChannel commChannel)
|
Method Summary | |
---|---|
AllocTraceCallback |
getAllocTraceCallback()
Returns the allocation trace callback. |
DisconnectCallback |
getDisconnectCallback()
Return the callback called if we're disconnected because communication with the server fails. |
TrendAnalysisCallback |
getTrendCallback()
Returns the callback that will be called, with the latest trendanalysis, for each Garbage Collect that occurs when trend analysis is enabled. |
void |
run()
|
void |
setAllocTraceCallback(AllocTraceCallback atc)
Sets the allocation trace callback. |
void |
setDisconnectCallback(DisconnectCallback disconnectCallback)
Sets the callback called if we're disconnected because communication with the server fails. |
void |
setTrendCallback(TrendAnalysisCallback tac)
Sets the callback that will be called, with the latest trendanalysis, for each Garbage Collect that occurs when trend analysis is enabled. |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractMemLeak.AsyncCallbackThread(com.jrockit.memleak.mlp.CommunicationChannel commChannel)
commChannel
- Method Detail |
---|
public void setAllocTraceCallback(AllocTraceCallback atc)
atc
- callback that receives the traces.public AllocTraceCallback getAllocTraceCallback()
public void setTrendCallback(TrendAnalysisCallback tac)
tac
- the callbackpublic TrendAnalysisCallback getTrendCallback()
public void setDisconnectCallback(DisconnectCallback disconnectCallback)
disconnectCallback
- the callback that handles the exception that was thrown
due to the communication error.public DisconnectCallback getDisconnectCallback()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |