public class RemoteThreads extends java.lang.Object implements RemoteThreadsMBean
RemoteThreadsMBean
interface. Further implementations of the implemented interface could
inherit from this class.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
ACS_CLASSES |
static java.lang.String[] |
JACORB_CLASSES |
protected java.lang.management.ThreadMXBean |
tmxb |
| Constructor and Description |
|---|
RemoteThreads() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAcsContainerThreadsCount()
Returns the total count of ACS-related threads, for all thread states
|
javax.management.openmbean.CompositeData[] |
getAcsContainerThreadsInfo()
Returns all the JacORB related threads' information
|
javax.management.openmbean.CompositeData[] |
getAcsContainerThreadsInfo(java.lang.Thread.State state)
Returns all the ACS related threads' information for a given thread
state.
|
int |
getAllThreadsCount()
Returns the total number of threads, for all states
|
javax.management.openmbean.CompositeData[] |
getAllThreadsInfo()
Returns a dump of all the threads of the JVM.
|
int |
getJacORBThreadsCount()
Returns the total count of JacORB-related threads, for all thread states
|
javax.management.openmbean.CompositeData[] |
getJacORBThreadsInfo()
Returns all the JacORB related threads' information
|
javax.management.openmbean.CompositeData[] |
getJacORBThreadsInfo(java.lang.Thread.State state)
Returns all the JacORB related threads' information for a given thread
state.
|
protected int |
getThreadsCount(java.lang.String[] classes,
java.lang.Thread.State state) |
int |
getThreadsCount(java.lang.String className,
java.lang.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. |
protected javax.management.openmbean.CompositeData[] |
getThreadsInfo(java.lang.String[] classes,
java.lang.Thread.State state) |
javax.management.openmbean.CompositeData[] |
getThreadsInfo(java.lang.String className,
java.lang.Thread.State state)
Returns all the threads that are currently placed on the class given by
className and that present the state state. |
public static java.lang.String[] JACORB_CLASSES
public static java.lang.String[] ACS_CLASSES
protected java.lang.management.ThreadMXBean tmxb
public javax.management.openmbean.CompositeData[] getAllThreadsInfo()
RemoteThreadsMBeangetAllThreadsInfo in interface RemoteThreadsMBeanCompositeData type.public int getJacORBThreadsCount()
RemoteThreadsMBeangetJacORBThreadsCount in interface RemoteThreadsMBeanpublic javax.management.openmbean.CompositeData[] getJacORBThreadsInfo()
RemoteThreadsMBeangetJacORBThreadsInfo in interface RemoteThreadsMBeanpublic javax.management.openmbean.CompositeData[] getJacORBThreadsInfo(java.lang.Thread.State state)
RemoteThreadsMBeangetJacORBThreadsInfo in interface RemoteThreadsMBeanstate - The desired threads' statestate is null, then return all threadspublic int getAcsContainerThreadsCount()
RemoteThreadsMBeangetAcsContainerThreadsCount in interface RemoteThreadsMBeanpublic javax.management.openmbean.CompositeData[] getAcsContainerThreadsInfo()
RemoteThreadsMBeangetAcsContainerThreadsInfo in interface RemoteThreadsMBeanpublic javax.management.openmbean.CompositeData[] getAcsContainerThreadsInfo(java.lang.Thread.State state)
RemoteThreadsMBeangetAcsContainerThreadsInfo in interface RemoteThreadsMBeanstate - The desired threads' state. If null, then all states are
consideredstate is null, then return all threadspublic int getAllThreadsCount()
RemoteThreadsMBeangetAllThreadsCount in interface RemoteThreadsMBeanpublic javax.management.openmbean.CompositeData[] getThreadsInfo(java.lang.String className,
java.lang.Thread.State state)
RemoteThreadsMBeanclassName and that present the state state.getThreadsInfo in interface RemoteThreadsMBeanclassName - The class name where the threads are placed. Full class name
should be given (e.g., java.lang.String).state - The threads' statepublic int getThreadsCount(java.lang.String className,
java.lang.Thread.State state)
RemoteThreadsMBeanclassName and that present the given state.getThreadsCount in interface RemoteThreadsMBeanclassName - 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.protected javax.management.openmbean.CompositeData[] getThreadsInfo(java.lang.String[] classes,
java.lang.Thread.State state)
protected int getThreadsCount(java.lang.String[] classes,
java.lang.Thread.State state)