public interface ThreadHistoryMonitorHelperMXBean
Modifier and Type | Method and Description |
---|---|
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.
|
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
Copyright © 2013. All Rights Reserved.