Class GrowingThreadPool

All Implemented Interfaces:
HealthCheck, Executor, ExecutorService

public class GrowingThreadPool extends ThreadPoolExecutor implements HealthCheck
  • Constructor Details

  • Method Details

    • changeGrowthRate

      public void changeGrowthRate(ThreadPoolGrowth[] newGrowth)
    • setMaxPoolSize

      public void setMaxPoolSize(int maxSize)
    • setBacklog

      public void setBacklog(int val)
    • getNumOfFreeSlots

      public int getNumOfFreeSlots()
    • canProcessRequest

      public boolean canProcessRequest()
    • healthCheck

      public void healthCheck()
      Specified by:
      healthCheck in interface HealthCheck