Package org.infinispan.factories.threads
Class EnhancedQueueExecutorFactory
- java.lang.Object
-
- org.infinispan.factories.threads.AbstractThreadPoolExecutorFactory<org.jboss.threads.management.ManageableThreadPoolExecutorService>
-
- org.infinispan.factories.threads.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 utilizesEnhancedQueueExecutor
internally.- Author:
- wburns
-
-
Field Summary
-
Fields inherited from class org.infinispan.factories.threads.AbstractThreadPoolExecutorFactory
coreThreads, keepAlive, maxThreads, queueLength
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
EnhancedQueueExecutorFactory(int maxThreads, int coreThreads, int queueLength, long keepAlive)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnhancedQueueExecutorFactory
create(int maxThreads, int queueSize)
org.jboss.threads.management.ManageableThreadPoolExecutorService
createExecutor(ThreadFactory factory)
void
validate()
Validate parameters for the thread pool executor factory-
Methods inherited from class org.infinispan.factories.threads.AbstractThreadPoolExecutorFactory
coreThreads, keepAlive, maxThreads, queueLength
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.commons.executors.ThreadPoolExecutorFactory
createsNonBlockingThreads
-
-
-
-
Method Detail
-
create
public static EnhancedQueueExecutorFactory create(int maxThreads, int queueSize)
-
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
-
-