Interface ThreadExecutorStatsMXBean
-
- All Known Implementing Classes:
ThreadExecutorStatsMXBeanImpl
public interface ThreadExecutorStatsMXBeanMXBean interface for thread executor statistic metrics.- Author:
- Thomas Pantelis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetActiveThreadCount()Returns the active thread count.longgetCompletedTaskCount()Returns the completed task count.longgetCurrentQueueSize()Returns the current queue size.longgetCurrentThreadPoolSize()Returns the current thread pool size.LonggetLargestQueueSize()Returns the largest queue size, if available.longgetLargestThreadPoolSize()Returns the largest thread pool size.longgetMaxQueueSize()Returns the maximum queue size.longgetMaxThreadPoolSize()Returns the maximum thread pool size.LonggetRejectedTaskCount()Returns the rejected task count, if available.longgetTotalTaskCount()Returns the total task count.
-
-
-
Method Detail
-
getCurrentThreadPoolSize
long getCurrentThreadPoolSize()
Returns the current thread pool size.
-
getLargestThreadPoolSize
long getLargestThreadPoolSize()
Returns the largest thread pool size.
-
getMaxThreadPoolSize
long getMaxThreadPoolSize()
Returns the maximum thread pool size.
-
getCurrentQueueSize
long getCurrentQueueSize()
Returns the current queue size.
-
getLargestQueueSize
Long getLargestQueueSize()
Returns the largest queue size, if available.
-
getMaxQueueSize
long getMaxQueueSize()
Returns the maximum queue size.
-
getActiveThreadCount
long getActiveThreadCount()
Returns the active thread count.
-
getCompletedTaskCount
long getCompletedTaskCount()
Returns the completed task count.
-
getTotalTaskCount
long getTotalTaskCount()
Returns the total task count.
-
getRejectedTaskCount
Long getRejectedTaskCount()
Returns the rejected task count, if available.
-
-