public interface RemoteThreadsMBean
ThreadMXBean platform MXBean to get all
the necessary information.CompositeData arrays
actually return 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
ThreadInfo.from(javax.management.openmbean.CompositeData)
method.| 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.
|
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. |
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. |
javax.management.openmbean.CompositeData[] getAllThreadsInfo()
CompositeData type.int getAllThreadsCount()
javax.management.openmbean.CompositeData[] getJacORBThreadsInfo()
javax.management.openmbean.CompositeData[] getJacORBThreadsInfo(java.lang.Thread.State state)
state - The desired threads' statestate is null, then return all threadsint getJacORBThreadsCount()
javax.management.openmbean.CompositeData[] getAcsContainerThreadsInfo()
javax.management.openmbean.CompositeData[] getAcsContainerThreadsInfo(java.lang.Thread.State state)
state - The desired threads' state. If null, then all states are
consideredstate is null, then return all threadsint getAcsContainerThreadsCount()
javax.management.openmbean.CompositeData[] getThreadsInfo(java.lang.String className,
java.lang.Thread.State state)
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' stateint getThreadsCount(java.lang.String className,
java.lang.Thread.State state)
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.