
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) |
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.
| int alma::acs::monitoring::RemoteThreadsMBean::getAcsContainerThreadsCount | ( | ) |
Returns the total count of ACS-related threads, for all thread states
Implemented in alma::acs::monitoring::RemoteThreads.
Referenced by alma::acs::monitoring::RemoteThreadsMBeanTest::testGetAcsContainerThreadsCount(), alma::acs::monitoring::RemoteThreadsMBeanTest::testGetAllThreadsCount(), and alma::acs::container::corba::ContainerMonitorTest::testStress().
| CompositeData [] alma::acs::monitoring::RemoteThreadsMBean::getAcsContainerThreadsInfo | ( | Thread.State | state | ) |
| CompositeData [] alma::acs::monitoring::RemoteThreadsMBean::getAcsContainerThreadsInfo | ( | ) |
Returns all the JacORB related threads' information
Implemented in alma::acs::monitoring::RemoteThreads.
Referenced by alma::acs::monitoring::RemoteThreadsMBeanTest::testGetAcsContainerThreadsInfo(), and alma::acs::monitoring::RemoteThreadsMBeanTest::testGetAcsContainerThreadsInfoState().
| int alma::acs::monitoring::RemoteThreadsMBean::getAllThreadsCount | ( | ) |
Returns the total number of threads, for all states
Implemented in alma::acs::monitoring::RemoteThreads.
Referenced by alma::acs::monitoring::RemoteThreadsMonitor::main(), and alma::acs::monitoring::RemoteThreadsMBeanTest::testGetAllThreadsCount().
| CompositeData [] alma::acs::monitoring::RemoteThreadsMBean::getAllThreadsInfo | ( | ) |
Returns a dump of all the threads of the JVM.
Implemented in alma::acs::monitoring::RemoteThreads.
Referenced by alma::acs::monitoring::RemoteThreadsMonitor::main(), and alma::acs::monitoring::RemoteThreadsMBeanTest::testGetAllThreadsInfo().
| int alma::acs::monitoring::RemoteThreadsMBean::getJacORBThreadsCount | ( | ) |
Returns the total count of JacORB-related threads, for all thread states
Implemented in alma::acs::monitoring::RemoteThreads.
Referenced by alma::acs::monitoring::RemoteThreadsMonitor::main(), alma::acs::monitoring::RemoteThreadsMBeanTest::testGetAllThreadsCount(), alma::acs::monitoring::RemoteThreadsMBeanTest::testGetJacORBThreadsCount(), alma::acs::monitoring::RemoteThreadsMBeanTest::testGetJacORBThreadsInfo(), and alma::acs::container::corba::ContainerMonitorTest::testStress().
| CompositeData [] alma::acs::monitoring::RemoteThreadsMBean::getJacORBThreadsInfo | ( | Thread.State | state | ) |
Returns all the JacORB related threads' information for a given thread state.
| state | The desired threads' state |
state is null, then return all threads | CompositeData [] alma::acs::monitoring::RemoteThreadsMBean::getJacORBThreadsInfo | ( | ) |
Returns all the JacORB related threads' information
Implemented in alma::acs::monitoring::RemoteThreads.
Referenced by alma::acs::monitoring::RemoteThreadsMonitor::main(), alma::acs::monitoring::RemoteThreadsMBeanTest::testGetJacORBThreadsInfo(), and alma::acs::monitoring::RemoteThreadsMBeanTest::testGetJacORBThreadsInfoState().
| 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.
| 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. |
Referenced by alma::acs::monitoring::RemoteThreadsMonitor::main(), and alma::acs::container::corba::ContainerMonitorTest::testStress().
| 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.
| className | The class name where the threads are placed. Full class name should be given (e.g., java.lang.String). | |
| state | The threads' state |
Referenced by alma::acs::container::corba::ContainerMonitorTest::testStress().
1.6.2