Interface JmxManagedThreadPoolMBean
-
- All Known Implementing Classes:
JmxManagedThreadPool
public interface JmxManagedThreadPoolMBeanMBean responsible for controlling a Thread Pool. The thread pool is used by the JobExecutor component.
- Author:
- Daniel Meyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetActiveCount()longgetCompletedTaskCount()intgetLargestPoolSize()intgetMaximumPoolSize()intgetPoolSize()intgetQueueCount()longgetTaskCount()voidpurgeThreadPool()voidsetCorePoolSize(int corePoolSize)voidsetMaximumPoolSize(int maximumPoolSize)
-
-
-
Method Detail
-
getQueueCount
int getQueueCount()
-
getCompletedTaskCount
long getCompletedTaskCount()
-
getTaskCount
long getTaskCount()
-
getLargestPoolSize
int getLargestPoolSize()
-
getActiveCount
int getActiveCount()
-
getPoolSize
int getPoolSize()
-
purgeThreadPool
void purgeThreadPool()
-
getMaximumPoolSize
int getMaximumPoolSize()
-
setMaximumPoolSize
void setMaximumPoolSize(int maximumPoolSize)
-
setCorePoolSize
void setCorePoolSize(int corePoolSize)
-
-