Package org.infinispan.factories.threads
Class AbstractThreadPoolExecutorFactory<T extends ExecutorService>
- java.lang.Object
-
- org.infinispan.factories.threads.AbstractThreadPoolExecutorFactory<T>
-
- All Implemented Interfaces:
org.infinispan.commons.executors.ThreadPoolExecutorFactory<T>
- Direct Known Subclasses:
EnhancedQueueExecutorFactory,NonBlockingThreadPoolExecutorFactory
public abstract class AbstractThreadPoolExecutorFactory<T extends ExecutorService> extends Object implements org.infinispan.commons.executors.ThreadPoolExecutorFactory<T>
AbstractThreadPoolExecutorFactorythat contains commons variables for configuring a thread pool- Author:
- wburns
-
-
Field Summary
Fields Modifier and Type Field Description protected intcoreThreadsprotected longkeepAliveprotected intmaxThreadsprotected intqueueLength
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractThreadPoolExecutorFactory(int maxThreads, int coreThreads, int queueLength, long keepAlive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcoreThreads()longkeepAlive()intmaxThreads()intqueueLength()
-