Class JmxManagedThreadPool
java.lang.Object
org.camunda.bpm.container.impl.threading.se.SeExecutorService
org.camunda.bpm.container.impl.jmx.services.JmxManagedThreadPool
- All Implemented Interfaces:
 ExecutorService,JmxManagedThreadPoolMBean,PlatformService<JmxManagedThreadPool>
public class JmxManagedThreadPool
extends SeExecutorService
implements JmxManagedThreadPoolMBean, PlatformService<JmxManagedThreadPool>
- Author:
 - Daniel Meyer
 
- 
Field Summary
FieldsFields inherited from class org.camunda.bpm.container.impl.threading.se.SeExecutorService
threadPoolExecutor - 
Constructor Summary
ConstructorsConstructorDescriptionJmxManagedThreadPool(BlockingQueue<Runnable> queue, ThreadPoolExecutor executor)  - 
Method Summary
Modifier and TypeMethodDescriptionintlongintintintintlonggetValue()voidvoidsetCorePoolSize(int corePoolSize) voidsetKeepAliveTime(long time, TimeUnit unit) voidsetMaximumPoolSize(int maximumPoolSize) voidstart(PlatformServiceContainer mBeanServiceContainer) voidstop(PlatformServiceContainer mBeanServiceContainer) Methods inherited from class org.camunda.bpm.container.impl.threading.se.SeExecutorService
executeLongRunning, executeShortRunning, getExecuteJobsRunnable, schedule 
- 
Field Details
- 
threadPoolQueue
 
 - 
 - 
Constructor Details
- 
JmxManagedThreadPool
 
 - 
 - 
Method Details
- 
start
- Specified by:
 startin interfacePlatformService<JmxManagedThreadPool>
 - 
stop
- Specified by:
 stopin interfacePlatformService<JmxManagedThreadPool>
 - 
getValue
- Specified by:
 getValuein interfacePlatformService<JmxManagedThreadPool>
 - 
setCorePoolSize
public void setCorePoolSize(int corePoolSize) - Specified by:
 setCorePoolSizein interfaceJmxManagedThreadPoolMBean
 - 
setMaximumPoolSize
public void setMaximumPoolSize(int maximumPoolSize) - Specified by:
 setMaximumPoolSizein interfaceJmxManagedThreadPoolMBean
 - 
getMaximumPoolSize
public int getMaximumPoolSize()- Specified by:
 getMaximumPoolSizein interfaceJmxManagedThreadPoolMBean
 - 
setKeepAliveTime
 - 
purgeThreadPool
public void purgeThreadPool()- Specified by:
 purgeThreadPoolin interfaceJmxManagedThreadPoolMBean
 - 
getPoolSize
public int getPoolSize()- Specified by:
 getPoolSizein interfaceJmxManagedThreadPoolMBean
 - 
getActiveCount
public int getActiveCount()- Specified by:
 getActiveCountin interfaceJmxManagedThreadPoolMBean
 - 
getLargestPoolSize
public int getLargestPoolSize()- Specified by:
 getLargestPoolSizein interfaceJmxManagedThreadPoolMBean
 - 
getTaskCount
public long getTaskCount()- Specified by:
 getTaskCountin interfaceJmxManagedThreadPoolMBean
 - 
getCompletedTaskCount
public long getCompletedTaskCount()- Specified by:
 getCompletedTaskCountin interfaceJmxManagedThreadPoolMBean
 - 
getQueueCount
public int getQueueCount()- Specified by:
 getQueueCountin interfaceJmxManagedThreadPoolMBean
 - 
getThreadPoolExecutor
 
 -