Class ExecutorStatisticsView
java.lang.Object
org.hawaiiframework.async.statistics.ExecutorStatisticsView
A view on the
ExecutorStatistics.-
Constructor Summary
ConstructorsConstructorDescriptionExecutorStatisticsView(ExecutorStatistics statistics) Create a view onExecutorStatistics. -
Method Summary
Modifier and TypeMethodDescriptionGet the number of aborted tasks.Get the number of completed tasks.Get the executor's max pool size.Get the executor's pool size.Get the executor's queued task size.
-
Constructor Details
-
ExecutorStatisticsView
Create a view onExecutorStatistics.- Parameters:
statistics- The statistics to use.
-
-
Method Details
-
getPoolSize
Get the executor's pool size.- Returns:
- The current number of threads in use by the executor.
-
getMaxPoolSize
Get the executor's max pool size.- Returns:
- The executor's max pool size.
-
getQueueSize
Get the executor's queued task size.- Returns:
- The number of queued tasks.
-
getCompletedTaskCount
Get the number of completed tasks.- Returns:
- The executor's completed task count.
-
getAbortedTaskCount
Get the number of aborted tasks.- Returns:
- The executor's aborted task count.
-