Class EnhancedQueueExecutorFactory
java.lang.Object
org.infinispan.factories.threads.AbstractThreadPoolExecutorFactory<ExecutorService>
org.infinispan.factories.threads.EnhancedQueueExecutorFactory
- All Implemented Interfaces:
ThreadPoolExecutorFactory<ExecutorService>
public class EnhancedQueueExecutorFactory
extends AbstractThreadPoolExecutorFactory<ExecutorService>
Executor Factory used for blocking executors which utilizes
EnhancedQueueExecutor internally.- Author:
- wburns
-
Field Summary
Fields inherited from class AbstractThreadPoolExecutorFactory
coreThreads, keepAlive, maxThreads, queueLength -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEnhancedQueueExecutorFactory(int maxThreads, int coreThreads, int queueLength, long keepAlive) -
Method Summary
Modifier and TypeMethodDescriptionstatic EnhancedQueueExecutorFactorycreate(int maxThreads, int queueSize) createExecutor(ThreadFactory factory) voidvalidate()Validate parameters for the thread pool executor factoryMethods inherited from class AbstractThreadPoolExecutorFactory
coreThreads, keepAlive, maxThreads, queueLengthMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ThreadPoolExecutorFactory
createsNonBlockingThreads
-
Constructor Details
-
EnhancedQueueExecutorFactory
protected EnhancedQueueExecutorFactory(int maxThreads, int coreThreads, int queueLength, long keepAlive)
-
-
Method Details
-
create
-
createExecutor
-
validate
public void validate()Description copied from interface:ThreadPoolExecutorFactoryValidate parameters for the thread pool executor factory
-