com.ibm.websphere.monitor.jmx
Interface ThreadPoolMXBean
- public interface ThreadPoolMXBean
javax.management.JMX#newMXBeanProxy
method.
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getActiveThreads()
Retrieves the value of the read-only attribute ActiveThreads, which is the number of active threads in the pool
|
|
getPoolName()
Retrieves the value of the read-only attribute PoolName; all web requests execute in a thread pool called "Default Executor"
|
|
getPoolSize()
Retrieves the value of the read-only attribute PoolSize, which is the total number of threads in the pool, including both active and inactive threads.
|
Method Detail
getPoolName
- java.lang.String getPoolName()
Retrieves the value of the read-only attribute PoolName; all web requests execute in a thread pool called "Default Executor"
Returns:
thread pool name
getActiveThreads
- int getActiveThreads()
Retrieves the value of the read-only attribute ActiveThreads, which is the number of active threads in the pool
Returns:
active thread count
getPoolSize
- int getPoolSize()
Retrieves the value of the read-only attribute PoolSize, which is the total number of threads in the pool, including both active and inactive threads.
Returns:
thread pool size