public class ThreadPoolMXBeanImpl extends java.lang.Object implements ThreadPoolMXBean
| Constructor and Description |
|---|
ThreadPoolMXBeanImpl(java.util.concurrent.ThreadPoolExecutor executor) |
| Modifier and Type | Method and Description |
|---|---|
int |
getActiveCount() |
long |
getCompletedTaskCount() |
int |
getCorePoolSize() |
int |
getLargestPoolSize() |
int |
getMaximumPoolSize() |
int |
getPoolSize() |
int |
getQueueSize() |
long |
getTaskCount() |
boolean |
isAllowsCoreThreadTimeOut() |
boolean |
isShutdown() |
boolean |
isTerminated() |
boolean |
isTerminating() |
public ThreadPoolMXBeanImpl(java.util.concurrent.ThreadPoolExecutor executor)
public boolean isShutdown()
isShutdown in interface ThreadPoolMXBeanpublic boolean isTerminating()
isTerminating in interface ThreadPoolMXBeanpublic boolean isTerminated()
isTerminated in interface ThreadPoolMXBeanpublic int getCorePoolSize()
getCorePoolSize in interface ThreadPoolMXBeanpublic boolean isAllowsCoreThreadTimeOut()
isAllowsCoreThreadTimeOut in interface ThreadPoolMXBeanpublic int getMaximumPoolSize()
getMaximumPoolSize in interface ThreadPoolMXBeanpublic int getQueueSize()
getQueueSize in interface ThreadPoolMXBeanpublic int getPoolSize()
getPoolSize in interface ThreadPoolMXBeanpublic int getActiveCount()
getActiveCount in interface ThreadPoolMXBeanpublic int getLargestPoolSize()
getLargestPoolSize in interface ThreadPoolMXBeanpublic long getTaskCount()
getTaskCount in interface ThreadPoolMXBeanpublic long getCompletedTaskCount()
getCompletedTaskCount in interface ThreadPoolMXBean