Static Public Member Functions | |
ThreadInfo[] | toThreadsInfo (CompositeData[] data) |
String | printThreadsInfo (ThreadInfo[] info, boolean grouped) |
void | printThreadsInfo (ThreadInfo[] info, PrintStream printer, boolean grouped) |
public static
methods to help in the management of information given by the RemoteThreadsMBean class, like type conversion and printing information.
|
Prints the information of a group of threads into the specified printer object
|
|
Returns an array with the information of a group of threads that can be printed. The information can be grouped or not by thread state and by the name of the class where the thread "started".
|
|
Converts a CompositeData array into a ThreadInfo one using the ThreadInfo#from(javax.management.openmbean.CompositeData) method.
|