alma::acs::monitoring::RemoteThreadsUtil Class Reference
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 void alma::acs::monitoring::RemoteThreadsUtil::printThreadsInfo |
( |
ThreadInfo[] |
info, |
|
|
PrintStream |
printer, |
|
|
boolean |
grouped | |
|
) |
| | [inline, static] |
| static String alma::acs::monitoring::RemoteThreadsUtil::printThreadsInfo |
( |
ThreadInfo[] |
info, |
|
|
boolean |
grouped | |
|
) |
| | [inline, 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 ThreadInfo [] alma::acs::monitoring::RemoteThreadsUtil::toThreadsInfo |
( |
CompositeData[] |
data |
) |
[inline, static] |
The documentation for this class was generated from the following file: