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 TypeMethodDescriptionint
Deprecated.create
(int maxThreads, int queueSize, boolean nonBlocking) Deprecated.createExecutor
(ThreadFactory threadFactory) Deprecated.boolean
Deprecated.long
Deprecated.int
Deprecated.int
Deprecated.toString()
Deprecated.void
validate()
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:
createsNonBlockingThreads
in interfaceThreadPoolExecutorFactory<ExecutorService>
-
createExecutor
Deprecated.- Specified by:
createExecutor
in interfaceThreadPoolExecutorFactory<ExecutorService>
-
validate
public void validate()Deprecated.Description copied from interface:ThreadPoolExecutorFactory
Validate parameters for the thread pool executor factory- Specified by:
validate
in interfaceThreadPoolExecutorFactory<ExecutorService>
-
toString
Deprecated. -
create
public static BlockingThreadPoolExecutorFactory create(int maxThreads, int queueSize, boolean nonBlocking) Deprecated.
-