public class ThreadMonitorHelper extends Helper
Modifier | Constructor and Description |
---|---|
protected |
ThreadMonitorHelper(Rule rule) |
Modifier and Type | Method and Description |
---|---|
void |
traceCreate(java.lang.Thread thread)
trace creation of the supplied thread to System.out
this should only be triggered from the constructor for class java.lang.Thread"
|
void |
traceCreate(java.lang.Thread thread,
java.lang.Object key)
trace creation of the supplied thread to the trace stream identified by key
|
void |
traceExit(java.lang.Thread thread)
trace exit of the supplied thread to System.out
this should only be triggered from the call to java.lang.Thread.exit"
|
void |
traceExit(java.lang.Thread thread,
java.lang.Object key)
trace exit of the supplied thread to the trace stream identified by key
this should only be triggered from the call to java.lang.Thread.exit"
|
void |
traceRun(java.lang.Runnable runnable)
trace run of the supplied Runnable to System.out
this should only be triggered from a call to an implementation of java.lang.Runnable.run"
|
void |
traceRun(java.lang.Runnable runnable,
java.lang.Object key)
trace start of the supplied thread to the trace stream identified by key
this should only be triggered from the call an implementation of java.lang.Runnable.run"
|
void |
traceStart(java.lang.Thread thread)
trace start of the supplied thread to System.out
this should only be triggered from the call to java.lang.Thread.start"
|
void |
traceStart(java.lang.Thread thread,
java.lang.Object key)
trace start of the supplied thread to the trace stream identified by key
this should only be triggered from the call to java.lang.Thread.start"
|
activated, addCountDown, callerCheck, callerEquals, callerEquals, callerEquals, callerEquals, callerEquals, callerEquals, callerEquals, callerEquals, callerEquals, callerMatches, callerMatches, callerMatches, callerMatches, callerMatches, callerMatches, callerMatches, callerMatches, callerMatches, clear, closeTrace, countDown, createCountDown, createCounter, createCounter, createJoin, createRendezvous, createRendezvous, createTimer, deactivated, debug, decrementCounter, delay, deleteCounter, deleteRendezvous, deleteTimer, flag, flagged, formatAllStacks, formatAllStacks, formatAllStacks, formatAllStacks, formatStack, formatStack, formatStack, formatStack, formatStackBetween, formatStackBetween, formatStackBetween, formatStackBetween, formatStackBetween, formatStackBetween, formatStackBetweenMatches, formatStackBetweenMatches, formatStackBetweenMatches, formatStackBetweenMatches, formatStackBetweenMatches, formatStackBetweenMatches, formatStackMatching, formatStackMatching, formatStackMatching, formatStackMatching, formatStackMatching, formatStackMatching, formatStackRange, formatThreadStack, formatThreadStack, formatThreadStack, formatThreadStack, getCountDown, getElapsedTimeFromTimer, getObjectSize, getRendezvous, getStack, incrementCounter, incrementCounter, installed, isCountDown, isJoin, isRendezvous, joinEnlist, joinWait, killJVM, killJVM, killThread, matchIndex, openTrace, openTrace, printFrame, printlnFrame, readCounter, readCounter, rendezvous, resetTimer, setTriggering, signalKill, signalKill, signalThrow, signalThrow, signalWake, signalWake, toString, trace, trace, traceAllStacks, traceAllStacks, traceAllStacks, traceAllStacks, traceAllStacks, traceAllStacks, traceClose, traceln, traceln, traceOpen, traceOpen, traceStack, traceStack, traceStack, traceStack, traceStack, traceStack, traceStackBetween, traceStackBetween, traceStackBetween, traceStackBetween, traceStackBetween, traceStackBetween, traceStackBetween, traceStackBetween, traceStackBetween, traceStackBetweenMatches, traceStackBetweenMatches, traceStackBetweenMatches, traceStackBetweenMatches, traceStackBetweenMatches, traceStackBetweenMatches, traceStackBetweenMatches, traceStackBetweenMatches, traceStackBetweenMatches, traceStackMatching, traceStackMatching, traceStackMatching, traceStackMatching, traceStackMatching, traceStackMatching, traceStackMatching, traceStackMatching, traceStackMatching, traceStackRange, traceThreadStack, traceThreadStack, traceThreadStack, traceThreadStack, traceThreadStack, traceThreadStack, triggerIndex, uninstalled, waitFor, waitFor, waiting
protected ThreadMonitorHelper(Rule rule)
public void traceCreate(java.lang.Thread thread)
thread
- the newly created threadpublic void traceCreate(java.lang.Thread thread, java.lang.Object key)
thread
- the newly created threadkey
- an object identifying the trace stream to which output should be generatedpublic void traceStart(java.lang.Thread thread)
thread
- the newly starting threadpublic void traceStart(java.lang.Thread thread, java.lang.Object key)
thread
- the newly starting threadkey
- an object identifying the trace stream to which output should be generatedpublic void traceExit(java.lang.Thread thread)
thread
- the exiting threadpublic void traceExit(java.lang.Thread thread, java.lang.Object key)
thread
- the exiting threadkey
- an object identifying the trace stream to which output should be generatedpublic void traceRun(java.lang.Runnable runnable)
runnable
- the runnable being runpublic void traceRun(java.lang.Runnable runnable, java.lang.Object key)
runnable
- the runnable being runkey
- an object identifying the trace stream to which output should be generatedCopyright © 2013. All Rights Reserved.