Interface ThreadExecutorStatsMXBean

  • All Known Implementing Classes:
    ThreadExecutorStatsMXBeanImpl

    public interface ThreadExecutorStatsMXBean
    MXBean interface for thread executor statistic metrics.
    Author:
    Thomas Pantelis
    • Method Detail

      • getCurrentThreadPoolSize

        long getCurrentThreadPoolSize()
        Returns the current thread pool size.
      • getLargestThreadPoolSize

        long getLargestThreadPoolSize()
        Returns the largest thread pool size.
      • getMaxThreadPoolSize

        long getMaxThreadPoolSize()
        Returns the maximum thread pool size.
      • getCurrentQueueSize

        long getCurrentQueueSize()
        Returns the current queue size.
      • getLargestQueueSize

        Long getLargestQueueSize()
        Returns the largest queue size, if available.
      • getMaxQueueSize

        long getMaxQueueSize()
        Returns the maximum queue size.
      • getActiveThreadCount

        long getActiveThreadCount()
        Returns the active thread count.
      • getCompletedTaskCount

        long getCompletedTaskCount()
        Returns the completed task count.
      • getTotalTaskCount

        long getTotalTaskCount()
        Returns the total task count.
      • getRejectedTaskCount

        Long getRejectedTaskCount()
        Returns the rejected task count, if available.