Class ThreadPoolExecutorMBean

java.lang.Object
io.airlift.concurrent.ThreadPoolExecutorMBean

public class ThreadPoolExecutorMBean extends Object
  • Constructor Details

    • ThreadPoolExecutorMBean

      public ThreadPoolExecutorMBean(ThreadPoolExecutor threadPoolExecutor)
  • Method Details

    • isShutdown

      public boolean isShutdown()
    • isTerminating

      public boolean isTerminating()
    • isTerminated

      public boolean isTerminated()
    • getRejectedExecutionHandler

      public String getRejectedExecutionHandler()
    • getCorePoolSize

      public int getCorePoolSize()
    • setCorePoolSize

      public void setCorePoolSize(int corePoolSize)
    • getMaximumPoolSize

      public int getMaximumPoolSize()
    • setMaximumPoolSize

      public void setMaximumPoolSize(int maximumPoolSize)
    • getPoolSize

      public int getPoolSize()
    • getActiveCount

      public int getActiveCount()
    • getLargestPoolSize

      public int getLargestPoolSize()
    • getKeepAliveTime

      public String getKeepAliveTime()
    • setKeepAliveTime

      public void setKeepAliveTime(String duration)
    • isAllowCoreThreadTimeOut

      public boolean isAllowCoreThreadTimeOut()
    • setAllowCoreThreadTimeOut

      public void setAllowCoreThreadTimeOut(boolean allowsCoreThreadTimeOut)
    • getTaskCount

      public long getTaskCount()
    • getCompletedTaskCount

      public long getCompletedTaskCount()
    • getQueuedTaskCount

      public int getQueuedTaskCount()