Package org.infinispan.commons.executors
Class BlockingThreadPoolExecutorFactory
java.lang.Object
org.infinispan.commons.executors.BlockingThreadPoolExecutorFactory
- All Implemented Interfaces:
ThreadPoolExecutorFactory<ExecutorService>
@Deprecated
public class BlockingThreadPoolExecutorFactory
extends Object
implements ThreadPoolExecutorFactory<ExecutorService>
Deprecated.
since 12.0 with no replacement
- Author:
- Galder ZamarreƱo
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBlockingThreadPoolExecutorFactory(int maxThreads, int coreThreads, int queueLength, long keepAlive) Deprecated.BlockingThreadPoolExecutorFactory(int maxThreads, int coreThreads, int queueLength, long keepAlive, boolean nonBlocking) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.create(int maxThreads, int queueSize, boolean nonBlocking) Deprecated.createExecutor(ThreadFactory threadFactory) Deprecated.booleanDeprecated.longDeprecated.intDeprecated.intDeprecated.toString()Deprecated.voidvalidate()Deprecated.Validate parameters for the thread pool executor factory
-
Field Details
-
DEFAULT_KEEP_ALIVE_MILLIS
public static final int DEFAULT_KEEP_ALIVE_MILLISDeprecated.- See Also:
-
-
Constructor Details
-
BlockingThreadPoolExecutorFactory
public BlockingThreadPoolExecutorFactory(int maxThreads, int coreThreads, int queueLength, long keepAlive) Deprecated. -
BlockingThreadPoolExecutorFactory
public BlockingThreadPoolExecutorFactory(int maxThreads, int coreThreads, int queueLength, long keepAlive, boolean nonBlocking) Deprecated.
-
-
Method Details
-
maxThreads
public int maxThreads()Deprecated. -
coreThreads
public int coreThreads()Deprecated. -
queueLength
public int queueLength()Deprecated. -
keepAlive
public long keepAlive()Deprecated. -
createsNonBlockingThreads
public boolean createsNonBlockingThreads()Deprecated.- Specified by:
createsNonBlockingThreadsin interfaceThreadPoolExecutorFactory<ExecutorService>
-
createExecutor
Deprecated.- Specified by:
createExecutorin interfaceThreadPoolExecutorFactory<ExecutorService>
-
validate
public void validate()Deprecated.Description copied from interface:ThreadPoolExecutorFactoryValidate parameters for the thread pool executor factory- Specified by:
validatein interfaceThreadPoolExecutorFactory<ExecutorService>
-
toString
Deprecated. -
create
public static BlockingThreadPoolExecutorFactory create(int maxThreads, int queueSize, boolean nonBlocking) Deprecated.
-