public interface ThreadPoolStats extends Stats
| Modifier and Type | Method and Description |
|---|---|
RangeStatistic |
getAverageTimeInQueue()
Returns average time in milliseconds a work item waited in the work queue before getting processed.
|
RangeStatistic |
getAverageWorkCompletionTime()
Returns the statistical information about the average completion time of a work item in milliseconds.
|
BoundedRangeStatistic |
getCurrentNumberOfThreads()
Returns the statistical information about the number of Threads in the associated ThreaPool, as an instance of BoundedRangeStatistic.
|
CountStatistic |
getNumberOfAvailableThreads()
Returns the total number of available threads, as an instance of
CountStatistic. |
CountStatistic |
getNumberOfBusyThreads()
Returns the number of busy threads, as an instance of
CountStatistic. |
BoundedRangeStatistic |
getNumberOfWorkItemsInQueue()
Returns the work items in queue
|
CountStatistic |
getTotalWorkItemsAdded()
Returns the the total number of work items added so far to the work queue associated with threadpool.
|
getStatistic, getStatisticNames, getStatisticsBoundedRangeStatistic getCurrentNumberOfThreads()
BoundedRangeStatisticCountStatistic getNumberOfAvailableThreads()
CountStatistic.CountStatisticCountStatistic getNumberOfBusyThreads()
CountStatistic.CountStatisticRangeStatistic getAverageWorkCompletionTime()
RangeStatisticCountStatistic getTotalWorkItemsAdded()
CountStatisticRangeStatistic getAverageTimeInQueue()
RangeStatisticBoundedRangeStatistic getNumberOfWorkItemsInQueue()
BoundedRangeStatisticCopyright © 2014. All rights reserved.