Public Member Functions

alma.acs.monitoring.RemoteThreadsMBean Interface Reference

Inheritance diagram for alma.acs.monitoring.RemoteThreadsMBean:
alma.acs.monitoring.RemoteThreads

List of all members.

Public Member Functions

CompositeData[] getAllThreadsInfo ()
int getAllThreadsCount ()
CompositeData[] getJacORBThreadsInfo ()
CompositeData[] getJacORBThreadsInfo (Thread.State state)
int getJacORBThreadsCount ()
CompositeData[] getAcsContainerThreadsInfo ()
CompositeData[] getAcsContainerThreadsInfo (Thread.State state)
int getAcsContainerThreadsCount ()
CompositeData[] getThreadsInfo (String className, Thread.State state)
int getThreadsCount (String className, Thread.State state)

Detailed Description

MBean interface representing a set of threads of a remote java process. In order to have all the threading information fo the JVM, the implementation should use the ThreadMXBean platform MXBean to get all the necessary information.

All the methods returning CompositeData arrays actually return java.lang.management.ThreadInfo objects transformed into CompositeData ones. Since ThreadInfo is not serializable, then CompositeData type must be used to get the information. When calling these methods, therefore, the CompositeData type should be transformed into ThreadInfo ones using the java.lang.management.ThreadInfo#from(javax.management.openmbean.CompositeData) method.

Author:
rtobar
Since:
ACS 7.0

Member Function Documentation

int alma.acs.monitoring.RemoteThreadsMBean.getAcsContainerThreadsCount (  ) 

Returns the total count of ACS-related threads, for all thread states

Returns:
The total count of ACS-related threads

Implemented in alma.acs.monitoring.RemoteThreads.

CompositeData [] alma.acs.monitoring.RemoteThreadsMBean.getAcsContainerThreadsInfo (  ) 

Returns all the JacORB related threads' information

Returns:
All the JacORB related threads' information

Implemented in alma.acs.monitoring.RemoteThreads.

CompositeData [] alma.acs.monitoring.RemoteThreadsMBean.getAcsContainerThreadsInfo ( Thread.State  state  ) 

Returns all the ACS related threads' information for a given thread state.

Parameters:
state The desired threads' state. If null, then all states are considered
Returns:
All the ACS related threads' information for the given thread state. If state is null, then return all threads
int alma.acs.monitoring.RemoteThreadsMBean.getAllThreadsCount (  ) 

Returns the total number of threads, for all states

Returns:
The total number of threads

Implemented in alma.acs.monitoring.RemoteThreads.

Referenced by alma.acs.monitoring.RemoteThreadsMonitor.main().

CompositeData [] alma.acs.monitoring.RemoteThreadsMBean.getAllThreadsInfo (  ) 

Returns a dump of all the threads of the JVM.

Returns:
All the threads' information of the JVM, as an array of CompositeData type.

Implemented in alma.acs.monitoring.RemoteThreads.

Referenced by alma.acs.monitoring.RemoteThreadsMonitor.main().

int alma.acs.monitoring.RemoteThreadsMBean.getJacORBThreadsCount (  ) 

Returns the total count of JacORB-related threads, for all thread states

Returns:
The total count of JacORB-related threads

Implemented in alma.acs.monitoring.RemoteThreads.

Referenced by alma.acs.monitoring.RemoteThreadsMonitor.main().

CompositeData [] alma.acs.monitoring.RemoteThreadsMBean.getJacORBThreadsInfo ( Thread.State  state  ) 

Returns all the JacORB related threads' information for a given thread state.

Parameters:
state The desired threads' state
Returns:
All the JacORB related threads' information for the given thread state. If state is null, then return all threads
CompositeData [] alma.acs.monitoring.RemoteThreadsMBean.getJacORBThreadsInfo (  ) 

Returns all the JacORB related threads' information

Returns:
All the JacORB related threads' information

Implemented in alma.acs.monitoring.RemoteThreads.

Referenced by alma.acs.monitoring.RemoteThreadsMonitor.main().

int alma.acs.monitoring.RemoteThreadsMBean.getThreadsCount ( String  className,
Thread.State  state 
)

Returns the count of all the threads that are currently placed on the class given by className and that present the given state.

Parameters:
className The class name where the threads are placed. Full class name should be given (e.g., java.lang.String).
state The threads' state. If null, then all states are considered.
Returns:
The threads' count for the given class name and thread state.

Referenced by alma.acs.monitoring.RemoteThreadsMonitor.main().

CompositeData [] alma.acs.monitoring.RemoteThreadsMBean.getThreadsInfo ( String  className,
Thread.State  state 
)

Returns all the threads that are currently placed on the class given by className and that present the state state.

Parameters:
className The class name where the threads are placed. Full class name should be given (e.g., java.lang.String).
state The threads' state
Returns:
All the threads placed at that class

The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties