@MXBean
public interface JMXThreadPool
Modifier and Type | Method and Description |
---|---|
int |
getCorePoolSize() |
int |
getCurrentlyAvailableThreads() |
int |
getCurrentlyExecutingThreads() |
int |
getCurrentPoolSize() |
int |
getLargestPoolSize() |
int |
getMaximumPoolSize() |
int |
getPendingTasks() |
long |
getThreadKeepAliveTime() |
long |
getTotalCompletedTasks() |
long |
getTotalRejectedTasks() |
long |
getTotalScheduledTasks() |
void |
setCorePoolSize(int newCorePoolSize) |
void |
setMaximumPoolSize(int maximumPoolSize) |
void |
setThreadKeepAliveTime(long timeMs) |
long getThreadKeepAliveTime()
void setThreadKeepAliveTime(long timeMs)
int getCorePoolSize()
void setCorePoolSize(int newCorePoolSize)
int getCurrentPoolSize()
int getLargestPoolSize()
int getMaximumPoolSize()
void setMaximumPoolSize(int maximumPoolSize)
int getCurrentlyExecutingThreads()
int getCurrentlyAvailableThreads()
int getPendingTasks()
long getTotalScheduledTasks()
long getTotalCompletedTasks()
long getTotalRejectedTasks()