|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ThreadHistoryMonitorHelperMXBean
An MXBean interface for the thread event history monitoring.
| Method Summary | |
|---|---|
ThreadMonitorEvent[] |
getCreateEvents()
Get the array of thread creation events. |
java.lang.String |
getEventReport()
Get a string description of all thread events. |
ThreadMonitorEvent[] |
getExitEvents()
Get the array of thread exit events. |
ThreadMonitorEvent[] |
getRunEvents()
Get the array of Runnable.run events. |
ThreadMonitorEvent[] |
getStartEvents()
Get the array of thread start events. |
void |
writeAllEventsToFile(java.lang.String path)
Write a report of all events to the given path. |
void |
writeEventsToFile(java.lang.String type,
java.lang.String path)
Write a report of all events of the indicated type to the given path. |
| Method Detail |
|---|
ThreadMonitorEvent[] getCreateEvents()
ThreadMonitorEvent[] getStartEvents()
ThreadMonitorEvent[] getExitEvents()
ThreadMonitorEvent[] getRunEvents()
java.lang.String getEventReport()
throws java.io.IOException
writeAllEventsToFile(String).
java.io.IOException
void writeEventsToFile(java.lang.String type,
java.lang.String path)
throws java.io.IOException
type - - one of create, start, exit, run; case insensitivepath - - the pathname of the file to write the event report to.
java.io.IOException
void writeAllEventsToFile(java.lang.String path)
throws java.io.IOException
path - - the pathname of the file to write the event report to.
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||