Class DynamicSizedSchedulerImpl

All Implemented Interfaces:
AutoCloseable, Executor, ExecutorService, ScheduledExecutorService, DynamicSizedSchedulerInterface

public class DynamicSizedSchedulerImpl extends ScheduledThreadPoolExecutor implements DynamicSizedSchedulerInterface
  • Constructor Details

    • DynamicSizedSchedulerImpl

      public DynamicSizedSchedulerImpl(int corePoolSize, String poolName, int maximumPoolSize)
      Initialize a scheduler with dynamic pool size.
      Parameters:
      corePoolSize - initial Core pool size
      poolName - name of pool to identify threads
      maximumPoolSize - maximum pool size
  • Method Details