public class JMXEnabledSharedExecutorPool.JMXEnabledSEPExecutor extends SEPExecutor implements JMXEnabledSharedExecutorPool.JMXEnabledSEPExecutorMBean
maxWorkers, tasks| Constructor and Description |
|---|
JMXEnabledSEPExecutor(int poolSize,
int maxQueuedLength,
java.lang.String name,
java.lang.String jmxPath) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCoreThreads()
Returns core pool size of thread pool.
|
void |
setCoreThreads(int number)
Allows user to resize core pool size of the thread pool.
|
void |
setMaximumThreads(int number)
Allows user to resize maximum size of the thread pool.
|
void |
shutdown() |
addTask, awaitTermination, getActiveCount, getCompletedTasks, getCurrentlyBlockedTasks, getMaximumThreads, getPendingTasks, getTotalBlockedTasks, isShutdown, isTerminated, maybeExecuteImmediately, onCompletion, shutdownNowexecute, execute, invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, newTaskFor, submit, submit, submitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentlyBlockedTasks, getMaximumThreads, getTotalBlockedTasksgetActiveCount, getCompletedTasks, getPendingTaskspublic JMXEnabledSEPExecutor(int poolSize,
int maxQueuedLength,
java.lang.String name,
java.lang.String jmxPath)
public void shutdown()
shutdown in interface java.util.concurrent.ExecutorServiceshutdown in class SEPExecutorpublic int getCoreThreads()
JMXEnabledThreadPoolExecutorMBeangetCoreThreads in interface JMXEnabledThreadPoolExecutorMBeanpublic void setCoreThreads(int number)
JMXEnabledThreadPoolExecutorMBeansetCoreThreads in interface JMXEnabledThreadPoolExecutorMBeanpublic void setMaximumThreads(int number)
JMXEnabledThreadPoolExecutorMBeansetMaximumThreads in interface JMXEnabledThreadPoolExecutorMBeanCopyright © 2015 The Apache Software Foundation