Package org.infinispan.factories.threads
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 org.infinispan.factories.threads.AbstractThreadPoolExecutorFactory
coreThreads, keepAlive, maxThreads, queueLength
-
Constructor Summary
ModifierConstructorDescriptionprotected
EnhancedQueueExecutorFactory
(int maxThreads, int coreThreads, int queueLength, long keepAlive) -
Method Summary
Modifier and TypeMethodDescriptionstatic EnhancedQueueExecutorFactory
create
(int maxThreads, int queueSize) createExecutor
(ThreadFactory factory) void
validate()
Validate parameters for the thread pool executor factoryMethods 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
-
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:ThreadPoolExecutorFactory
Validate parameters for the thread pool executor factory
-