Class BoxScheduledExecutor

All Implemented Interfaces:
AutoCloseable, Executor, ExecutorService, ScheduledExecutorService

public class BoxScheduledExecutor extends ScheduledThreadPoolExecutor
Our own custom scheduled executor service
  • Constructor Details

    • BoxScheduledExecutor

      public BoxScheduledExecutor(int corePoolSize)
      Creates a new instance of ScheduledExecutor.
      Parameters:
      corePoolSize - The number of threads to keep in the pool, even if they are idle, unless allowCoreThreadTimeOut is set