public interface ThreadPoolMBean
| Modifier and Type | Method and Description |
|---|---|
void |
endThreadInspection()
Disables the collections of usage statistics on the threads of this pool.
|
java.lang.Integer |
getActiveThreads() |
java.lang.Long |
getAggregatedQueue() |
java.lang.Long |
getAvgBlockedTime() |
java.lang.Long |
getAvgBlocksCount() |
java.lang.Long |
getAvgCPUTime() |
java.lang.Integer |
getAvgExecTimeMillis() |
java.lang.Integer |
getAvgQueueWaitMillis() |
java.lang.Integer |
getCurrentThreads() |
java.lang.Integer |
getCurrQueueWaitMillis() |
java.lang.Boolean |
getIsCpuBound() |
java.lang.Integer |
getMaxFreeThreads() |
java.lang.Long |
getMaxQueue() |
java.lang.Integer |
getMaxThreads() |
java.lang.Integer |
getQueue() |
java.lang.Double |
getThroughput() |
java.lang.Integer |
getWaitingThreads() |
void |
startThreadInspection()
Enables the collections of usage statistics on the threads of this pool
related to
getAvgBlocksCount(), getAvgBlockedTime(),
and getAvgCPUTime(), which are collected through JVM internal
services. |
java.lang.Integer getMaxThreads()
java.lang.Integer getMaxFreeThreads()
java.lang.Long getMaxQueue()
java.lang.Boolean getIsCpuBound()
java.lang.Integer getCurrentThreads()
java.lang.Integer getActiveThreads()
java.lang.Integer getWaitingThreads()
java.lang.Integer getQueue()
java.lang.Long getAggregatedQueue()
java.lang.Integer getAvgQueueWaitMillis()
java.lang.Integer getCurrQueueWaitMillis()
java.lang.Double getThroughput()
java.lang.Integer getAvgExecTimeMillis()
void startThreadInspection()
getAvgBlocksCount(), getAvgBlockedTime(),
and getAvgCPUTime(), which are collected through JVM internal
services. Such services, in turn, should be enabled as well; see
LoadMBean.enableThreadInspection().void endThreadInspection()
startThreadInspection() for details. java.lang.Long getAvgBlocksCount()
startThreadInspection().java.lang.Long getAvgBlockedTime()
startThreadInspection().java.lang.Long getAvgCPUTime()
startThreadInspection().