Class ThreadPoolLoggingExecutor

    • Constructor Detail

      • ThreadPoolLoggingExecutor

        public ThreadPoolLoggingExecutor​(int corePoolSize,
                                         int maximumPoolSize,
                                         long keepAliveTime,
                                         TimeUnit unit,
                                         BlockingQueue<Runnable> workQueue,
                                         String poolName)
        Logging executor.
        Parameters:
        corePoolSize - thread pool size
        maximumPoolSize - maximum pool size
        keepAliveTime - keep alive time
        unit - time unit
        workQueue - task queue
        poolName - thread name prefix