@Deprecated public interface JMXEnabledThreadPoolExecutorMBean extends IExecutorMBean
ThreadPoolMetrics
Modifier and Type | Method and Description |
---|---|
int |
getCoreThreads()
Deprecated.
Returns core pool size of thread pool.
|
int |
getCurrentlyBlockedTasks()
Deprecated.
Get the number of tasks currently blocked, waiting to be accepted by
the executor (because all threads are busy and the backing queue is full).
|
int |
getMaximumThreads()
Deprecated.
Returns maximum pool size of thread pool.
|
int |
getTotalBlockedTasks()
Deprecated.
Get the number of tasks that had blocked before being accepted (or
rejected).
|
void |
setCoreThreads(int number)
Deprecated.
Allows user to resize core pool size of the thread pool.
|
void |
setMaximumThreads(int number)
Deprecated.
Allows user to resize maximum size of the thread pool.
|
getActiveCount, getCompletedTasks, getPendingTasks
int getTotalBlockedTasks()
int getCurrentlyBlockedTasks()
int getCoreThreads()
void setCoreThreads(int number)
int getMaximumThreads()
void setMaximumThreads(int number)
Copyright © 2016 The Apache Software Foundation