Interface JmxManagedThreadPoolMBean
- All Known Implementing Classes:
JmxManagedThreadPool
public interface JmxManagedThreadPoolMBean
MBean responsible for controlling a Thread Pool. The thread pool is used by the JobExecutor component.
- Author:
- Daniel Meyer
-
Method Summary
Modifier and TypeMethodDescriptionintlongintintintintlongvoidvoidsetCorePoolSize(int corePoolSize) voidsetMaximumPoolSize(int maximumPoolSize)
-
Method Details
-
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)
-