public interface ThreadHistoryMonitorHelperMXBean
| Modifier and Type | Method and Description |
|---|---|
ThreadMonitorEvent[] |
getCreateEvents()
Get the array of thread creation events.
|
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(String path)
Write a report of all events to the given path.
|
void |
writeEventsToFile(String type,
String path)
Write a report of all events of the indicated type to the given path.
|
ThreadMonitorEvent[] getCreateEvents()
ThreadMonitorEvent[] getStartEvents()
ThreadMonitorEvent[] getExitEvents()
ThreadMonitorEvent[] getRunEvents()
String getEventReport() throws IOException
writeAllEventsToFile(String).IOException - if an io error occursvoid writeEventsToFile(String type, String path) throws IOException
type - - one of create, start, exit, run; case insensitivepath - - the pathname of the file to write the event report to.IOException - if an io error occursvoid writeAllEventsToFile(String path) throws IOException
path - - the pathname of the file to write the event report to.IOException - if an io error occursCopyright © 2016. All rights reserved.