public abstract class AbstractThreadPoolExecutorFactory<T extends ExecutorService> extends Object implements ThreadPoolExecutorFactory<T>
ThreadPoolExecutorFactory
that contains commons variables for configuring a thread poolModifier and Type | Field and Description |
---|---|
protected int |
coreThreads |
protected long |
keepAlive |
protected int |
maxThreads |
protected int |
queueLength |
Modifier | Constructor and Description |
---|---|
protected |
AbstractThreadPoolExecutorFactory(int maxThreads,
int coreThreads,
int queueLength,
long keepAlive) |
Modifier and Type | Method and Description |
---|---|
int |
coreThreads() |
long |
keepAlive() |
int |
maxThreads() |
int |
queueLength() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createExecutor, createsNonBlockingThreads, validate
protected final int maxThreads
protected final int coreThreads
protected final int queueLength
protected final long keepAlive
Copyright © 2021 JBoss by Red Hat. All rights reserved.