Class DefaultWorkerPool

    • Constructor Detail

      • DefaultWorkerPool

        public DefaultWorkerPool()
      • DefaultWorkerPool

        public DefaultWorkerPool​(int maximumPoolSize)
      • DefaultWorkerPool

        public DefaultWorkerPool​(int corePoolSize,
                                 int maximumPoolSize)
      • DefaultWorkerPool

        public DefaultWorkerPool​(int corePoolSize,
                                 int maximumPoolSize,
                                 java.util.concurrent.BlockingQueue<java.lang.Runnable> workQueue)
    • Method Detail

      • executor

        public java.util.concurrent.Executor executor()
        Description copied from interface: WorkerPool
        Returns the executor.
        Specified by:
        executor in interface WorkerPool
        Returns:
        the executor
      • shutdown

        public void shutdown()
        Description copied from interface: WorkerPool
        Shutdown this worker pool.
        Specified by:
        shutdown in interface WorkerPool