Interface AsyncProcessorAwaitManager.Statistics

Enclosing interface:
AsyncProcessorAwaitManager

public static interface AsyncProcessorAwaitManager.Statistics
Utilization statistics of this manager.
  • Method Details

    • getThreadsBlocked

      long getThreadsBlocked()
      Total number of threads that has been blocked
    • getThreadsInterrupted

      long getThreadsInterrupted()
      Total number of threads that has been forced interrupted
    • getTotalDuration

      long getTotalDuration()
      The total duration time in millis.
    • getMinDuration

      long getMinDuration()
      The lowest duration time in millis.
    • getMaxDuration

      long getMaxDuration()
      The highest duration time in millis.
    • getMeanDuration

      long getMeanDuration()
      The average duration time in millis.
    • reset

      void reset()
      Reset the counters
    • isStatisticsEnabled

      boolean isStatisticsEnabled()
      Whether statistics is enabled.
    • setStatisticsEnabled

      void setStatisticsEnabled(boolean statisticsEnabled)
      Sets whether statistics is enabled.
      Parameters:
      statisticsEnabled - true to enable