Package com.ibm.websphere.monitor.jmx
Interface ThreadPoolMXBean
- 
 public interface ThreadPoolMXBeanManagement interface for the MBean "WebSphere:type=ThreadPoolStats,name=Default Executor". The Liberty profile makes this MBean available in its platform MBean server when the monitor-1.0 feature is enabled to allow monitoring of the thread pool. This interface can be used to request a proxy object via theJMX.newMXBeanProxy(javax.management.MBeanServerConnection, javax.management.ObjectName, java.lang.Class<T>)method.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetActiveThreads()Retrieves the value of the read-only attribute ActiveThreads, which is the number of active threads in the pooljava.lang.StringgetPoolName()Retrieves the value of the read-only attribute PoolName; all web requests execute in a thread pool called "Default Executor"intgetPoolSize()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- 
getPoolNamejava.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
 
 - 
getActiveThreadsint getActiveThreads() Retrieves the value of the read-only attribute ActiveThreads, which is the number of active threads in the pool- Returns:
- active thread count
 
 - 
getPoolSizeint 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
 
 
- 
 
-