Interface ThreadExecutorStatsMXBean
-
- All Known Implementing Classes:
ThreadExecutorStatsMXBeanImpl
public interface ThreadExecutorStatsMXBean
MXBean interface for thread executor statistic metrics.- Author:
- Thomas Pantelis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getActiveThreadCount()
Returns the active thread count.long
getCompletedTaskCount()
Returns the completed task count.long
getCurrentQueueSize()
Returns the current queue size.long
getCurrentThreadPoolSize()
Returns the current thread pool size.Long
getLargestQueueSize()
Returns the largest queue size, if available.long
getLargestThreadPoolSize()
Returns the largest thread pool size.long
getMaxQueueSize()
Returns the maximum queue size.long
getMaxThreadPoolSize()
Returns the maximum thread pool size.Long
getRejectedTaskCount()
Returns the rejected task count, if available.long
getTotalTaskCount()
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.
-
-