Class WorkerPool

All Implemented Interfaces:
AutoCloseable, Thread.UncaughtExceptionHandler, Executor, ExecutorService, ThreadFactory

final class WorkerPool extends ThreadPoolExecutor implements ThreadFactory, Thread.UncaughtExceptionHandler
  • Field Details

    • log

      private static final org.slf4j.Logger log
    • index

      private final AtomicInteger index
    • threadPriority

      private final int threadPriority
    • schedulingPolicy

      private final SchedulingPolicy schedulingPolicy
  • Constructor Details

    • WorkerPool

      WorkerPool(int minThreads, int maxThreads, long queueTime, int threadPriority, SchedulingPolicy schedulingPolicy)
  • Method Details