Class EnhancedQueueExecutorFactory

  • All Implemented Interfaces:
    ThreadPoolExecutorFactory<org.jboss.threads.management.ManageableThreadPoolExecutorService>

    public class EnhancedQueueExecutorFactory
    extends AbstractThreadPoolExecutorFactory<org.jboss.threads.management.ManageableThreadPoolExecutorService>
    Executor Factory used for blocking executors which utilizes EnhancedQueueExecutor internally.
    Author:
    wburns
    • Constructor Detail

      • EnhancedQueueExecutorFactory

        protected EnhancedQueueExecutorFactory​(int maxThreads,
                                               int coreThreads,
                                               int queueLength,
                                               long keepAlive)
    • Method Detail

      • createExecutor

        public org.jboss.threads.management.ManageableThreadPoolExecutorService createExecutor​(ThreadFactory factory)
      • validate

        public void validate()
        Description copied from interface: ThreadPoolExecutorFactory
        Validate parameters for the thread pool executor factory