public interface LoadMBean
getThreadPools()
method that lists all the thread pools in use; these pools are used to perform most of the internal work.getTotalPooledThreads()
and getActivePooledThreads()
).getTotalPoolQueue()
and getAveragePoolQueueWait()
).getQueueStageHTTPAccept()
and getQueueStagePump()
).getTotalNIOSelectors()
and getCurrentNIOWriteQueueWait()
).getExtraSleepMillis()
).enableThreadInspection()
).Modifier and Type | Method and Description |
---|---|
void |
disableThreadInspection()
Resets the JVM flags which enable the JVM's computation of usage
statistics on the threads.
|
void |
enableThreadInspection()
Tries to set the JVM flags which enable the JVM's computation of usage
statistics on the threads.
|
java.lang.Integer |
getActiveNIOWriteSelectors() |
java.lang.Integer |
getActivePooledThreads() |
java.lang.Integer |
getAveragePoolQueueWait() |
java.lang.Integer |
getCurrentNIOWriteQueue() |
java.lang.Long |
getCurrentNIOWriteQueueWait() |
java.lang.Integer |
getDelayMillis() |
java.lang.Integer |
getExtraSleepMillis() |
java.lang.Integer |
getExtraWaitMillis() |
java.lang.Integer |
getQueueStageEvents() |
java.lang.Integer |
getQueueStageHandshake() |
java.lang.Integer |
getQueueStageHTTPAccept() |
java.lang.Integer |
getQueueStageMPNExecutor() |
java.lang.Integer |
getQueueStageMPNNotifier() |
java.lang.Integer |
getQueueStagePump() |
java.lang.Integer |
getQueueStageSnapshot() |
java.util.List<java.lang.String> |
getThreadPools() |
java.lang.Integer |
getTotalJVMThreads() |
java.lang.Integer |
getTotalNIOSelectors() |
java.lang.Integer |
getTotalPooledThreads() |
java.lang.Integer |
getTotalPoolQueue() |
java.lang.Integer |
getWaitingPooledThreads() |
java.lang.Integer getTotalJVMThreads()
java.lang.Integer getTotalPooledThreads()
java.lang.Integer getActivePooledThreads()
java.lang.Integer getWaitingPooledThreads()
java.lang.Integer getQueueStageSnapshot()
java.lang.Integer getQueueStageEvents()
java.lang.Integer getQueueStagePump()
java.lang.Integer getQueueStageHTTPAccept()
java.lang.Integer getQueueStageHandshake()
java.lang.Integer getQueueStageMPNExecutor()
java.lang.Integer getQueueStageMPNNotifier()
java.lang.Integer getTotalPoolQueue()
ThreadPoolMBean.getQueue()
,
ThreadPoolMBean.getPendingAsyncTasks()
java.lang.Integer getAveragePoolQueueWait()
java.util.List<java.lang.String> getThreadPools()
ThreadPoolMBean
's.java.lang.Integer getCurrentNIOWriteQueue()
java.lang.Long getCurrentNIOWriteQueueWait()
java.lang.Integer getActiveNIOWriteSelectors()
java.lang.Integer getTotalNIOSelectors()
java.lang.Integer getExtraSleepMillis()
java.lang.Integer getExtraWaitMillis()
java.lang.Integer getDelayMillis()
void enableThreadInspection()
ThreadPoolMBean.getAvgBlocksCount()
,
ThreadPoolMBean.getAvgBlockedTime()
, and
ThreadPoolMBean.getAvgCPUTime()
). void disableThreadInspection()
enableThreadInspection()
.