|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.byteman.rule.helper.Helper
org.jboss.byteman.sample.helper.ThreadMonitorHelper
public class ThreadMonitorHelper
Helper class used by ThreadMonitorHelper script to trace thread operations
| Field Summary |
|---|
| Fields inherited from class org.jboss.byteman.rule.helper.Helper |
|---|
rule |
| Constructor Summary | |
|---|---|
protected |
ThreadMonitorHelper(Rule rule)
|
| Method Summary | |
|---|---|
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" |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected ThreadMonitorHelper(Rule rule)
| Method Detail |
|---|
public void traceCreate(java.lang.Thread thread)
thread - the newly created thread
public 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 thread
public 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 thread
public 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 run
public 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 generated
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||