Package org.infinispan.factories.threads
Class CoreExecutorFactory
java.lang.Object
org.infinispan.factories.threads.CoreExecutorFactory
Static factory class for producing executor factories in the core module
- Author:
- wburns
-
Method Summary
Modifier and TypeMethodDescriptionstatic ThreadPoolExecutorFactory
<? extends ExecutorService> executorFactory
(int maxThreads, int queueLength, boolean nonBlocking) static ThreadPoolExecutorFactory
<? extends ExecutorService> executorFactory
(int maxThreads, int coreThreads, int queueLength, long keepAlive, boolean nonBlocking)
-
Method Details
-
executorFactory
public static ThreadPoolExecutorFactory<? extends ExecutorService> executorFactory(int maxThreads, int coreThreads, int queueLength, long keepAlive, boolean nonBlocking) -
executorFactory
public static ThreadPoolExecutorFactory<? extends ExecutorService> executorFactory(int maxThreads, int queueLength, boolean nonBlocking)
-