Class ExecutorStatisticsView

java.lang.Object
org.hawaiiframework.async.statistics.ExecutorStatisticsView

public class ExecutorStatisticsView extends Object
A view on the ExecutorStatistics.
  • Constructor Details

  • Method Details

    • getPoolSize

      public Integer getPoolSize()
      Get the executor's pool size.
      Returns:
      The current number of threads in use by the executor.
    • getMaxPoolSize

      public Integer getMaxPoolSize()
      Get the executor's max pool size.
      Returns:
      The executor's max pool size.
    • getQueueSize

      public Integer getQueueSize()
      Get the executor's queued task size.
      Returns:
      The number of queued tasks.
    • getCompletedTaskCount

      public Long getCompletedTaskCount()
      Get the number of completed tasks.
      Returns:
      The executor's completed task count.
    • getAbortedTaskCount

      public Long getAbortedTaskCount()
      Get the number of aborted tasks.
      Returns:
      The executor's aborted task count.