Class IoScheduler.CachedWorkerPool

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    IoScheduler

    static final class IoScheduler.CachedWorkerPool
    extends java.lang.Object
    implements java.lang.Runnable
    • Field Detail

      • keepAliveTime

        private final long keepAliveTime
      • expiringWorkerQueue

        private final java.util.concurrent.ConcurrentLinkedQueue<IoScheduler.ThreadWorker> expiringWorkerQueue
      • evictorService

        private final java.util.concurrent.ScheduledExecutorService evictorService
      • evictorTask

        private final java.util.concurrent.Future<?> evictorTask
      • threadFactory

        private final java.util.concurrent.ThreadFactory threadFactory
    • Constructor Detail

      • CachedWorkerPool

        CachedWorkerPool​(long keepAliveTime,
                         java.util.concurrent.TimeUnit unit,
                         java.util.concurrent.ThreadFactory threadFactory)