Interface ManagedExecutorRuntimeStats


public interface ManagedExecutorRuntimeStats
Runtime stats from an executor.
Author:
emmartins
  • Method Details

    • getActiveThreadsCount

      int getActiveThreadsCount()
      Returns:
      the approximate number of threads that are actively executing tasks
    • getCompletedTaskCount

      long getCompletedTaskCount()
      Returns:
      the approximate total number of tasks that have completed execution
    • getHungThreadsCount

      int getHungThreadsCount()
      Returns:
      the number of executor threads that are hung
    • getMaxThreadsCount

      int getMaxThreadsCount()
      Returns:
      the largest number of executor threads
    • getQueueSize

      int getQueueSize()
      Returns:
      the current size of the executor's task queue
    • getTaskCount

      long getTaskCount()
      Returns:
      the approximate total number of tasks that have ever been submitted for execution
    • getThreadsCount

      int getThreadsCount()
      Returns:
      the current number of executor threads