Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::acs::monitoring::RemoteThreadsUtil Class Reference

List of all members.

Static Public Member Functions

ThreadInfo[] toThreadsInfo (CompositeData[] data)
String printThreadsInfo (ThreadInfo[] info, boolean grouped)
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

void alma::acs::monitoring::RemoteThreadsUtil::printThreadsInfo ThreadInfo[]  info,
PrintStream  printer,
boolean  grouped
[inline, 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.

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.

ThreadInfo [] alma::acs::monitoring::RemoteThreadsUtil::toThreadsInfo CompositeData[]  data  )  [inline, static]
 

Converts a CompositeData array into a ThreadInfo one using the ThreadInfo#from(javax.management.openmbean.CompositeData) method.

Parameters:
data The CompositeData array
Returns:
The ThreadInfo array corresponding to the data input data.


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:54:23 2009 for ACS Java API by doxygen 1.3.8