@Deprecated public class BlockingThreadPoolExecutorFactory extends Object implements ThreadPoolExecutorFactory<ExecutorService>
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_KEEP_ALIVE_MILLIS
Deprecated.
|
Constructor and Description |
---|
BlockingThreadPoolExecutorFactory(int maxThreads,
int coreThreads,
int queueLength,
long keepAlive)
Deprecated.
|
BlockingThreadPoolExecutorFactory(int maxThreads,
int coreThreads,
int queueLength,
long keepAlive,
boolean nonBlocking)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
coreThreads()
Deprecated.
|
static BlockingThreadPoolExecutorFactory |
create(int maxThreads,
int queueSize,
boolean nonBlocking)
Deprecated.
|
ExecutorService |
createExecutor(ThreadFactory threadFactory)
Deprecated.
|
boolean |
createsNonBlockingThreads()
Deprecated.
|
long |
keepAlive()
Deprecated.
|
int |
maxThreads()
Deprecated.
|
int |
queueLength()
Deprecated.
|
String |
toString()
Deprecated.
|
void |
validate()
Deprecated.
Validate parameters for the thread pool executor factory
|
public static final int DEFAULT_KEEP_ALIVE_MILLIS
public BlockingThreadPoolExecutorFactory(int maxThreads, int coreThreads, int queueLength, long keepAlive)
public BlockingThreadPoolExecutorFactory(int maxThreads, int coreThreads, int queueLength, long keepAlive, boolean nonBlocking)
public int maxThreads()
public int coreThreads()
public int queueLength()
public long keepAlive()
public boolean createsNonBlockingThreads()
createsNonBlockingThreads
in interface ThreadPoolExecutorFactory<ExecutorService>
public ExecutorService createExecutor(ThreadFactory threadFactory)
createExecutor
in interface ThreadPoolExecutorFactory<ExecutorService>
public void validate()
ThreadPoolExecutorFactory
validate
in interface ThreadPoolExecutorFactory<ExecutorService>
public static BlockingThreadPoolExecutorFactory create(int maxThreads, int queueSize, boolean nonBlocking)
Copyright © 2021 JBoss by Red Hat. All rights reserved.