Class ExecutorStatisticsView
- java.lang.Object
- 
- org.hawaiiframework.async.statistics.ExecutorStatisticsView
 
- 
 public class ExecutorStatisticsView extends Object A view on theExecutorStatistics.
- 
- 
Constructor SummaryConstructors Constructor Description ExecutorStatisticsView(ExecutorStatistics statistics)Create a view onExecutorStatistics.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetAbortedTaskCount()Get the number of aborted tasks.LonggetCompletedTaskCount()Get the number of completed tasks.IntegergetMaxPoolSize()Get the executor's max pool size.IntegergetPoolSize()Get the executor's pool size.IntegergetQueueSize()Get the executor's queued task size.
 
- 
- 
- 
Constructor Detail- 
ExecutorStatisticsViewpublic ExecutorStatisticsView(ExecutorStatistics statistics) Create a view onExecutorStatistics.
 
- 
 - 
Method Detail- 
getPoolSizepublic Integer getPoolSize() Get the executor's pool size.- Returns:
- The current number of threads in use by the executor.
 
 - 
getMaxPoolSizepublic Integer getMaxPoolSize() Get the executor's max pool size.- Returns:
- The executor's max pool size.
 
 - 
getQueueSizepublic Integer getQueueSize() Get the executor's queued task size.- Returns:
- The number of queued tasks.
 
 - 
getCompletedTaskCountpublic Long getCompletedTaskCount() Get the number of completed tasks.- Returns:
- The executor's completed task count.
 
 - 
getAbortedTaskCountpublic Long getAbortedTaskCount() Get the number of aborted tasks.- Returns:
- The executor's aborted task count.
 
 
- 
 
-