List of all members.
Classes |
class | Data |
Static Public Member Functions |
static ThreadInfo[] | toThreadsInfo (CompositeData[] data) |
static String | printThreadsInfo (ThreadInfo[] info, boolean grouped) |
static void | printThreadsInfo (ThreadInfo[] info, PrintStream printer, boolean grouped) |
Detailed Description
This class is intended to have only public static
methods to help in the management of information given by the RemoteThreadsMBean class, like type conversion and printing information.
- Author:
- rtobar
- Since:
- ACS 7.0
Member Function Documentation
static String alma.acs.monitoring.RemoteThreadsUtil.printThreadsInfo |
( |
ThreadInfo[] |
info, |
|
|
boolean |
grouped | |
|
) |
| | [static] |
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".
- Parameters:
-
| info | The ThreadInfo array with the information to be printed |
| grouped | If true, the information is grouped by class name and state, printing the count for each group. |
References alma.acs.util.StringOutputStream.toString().
static void alma.acs.monitoring.RemoteThreadsUtil.printThreadsInfo |
( |
ThreadInfo[] |
info, |
|
|
PrintStream |
printer, |
|
|
boolean |
grouped | |
|
) |
| | [static] |
Prints the information of a group of threads into the specified printer object printer
. The information can be grouped or not by thread state and by the name of the class where the thread "started".
- Parameters:
-
| info | The ThreadInfo array with the information to be printed |
| printer | Object where the information is going to be printed, such as System.out. |
| grouped | If true, the information is grouped by class name and state, printing the count for each group. |
static ThreadInfo [] alma.acs.monitoring.RemoteThreadsUtil.toThreadsInfo |
( |
CompositeData[] |
data |
) |
[static] |
The documentation for this class was generated from the following file: