public class EnhancedQueueExecutorFactory extends AbstractThreadPoolExecutorFactory<org.jboss.threads.management.ManageableThreadPoolExecutorService>
EnhancedQueueExecutor
internally.coreThreads, keepAlive, maxThreads, queueLength
Modifier | Constructor and Description |
---|---|
protected |
EnhancedQueueExecutorFactory(int maxThreads,
int coreThreads,
int queueLength,
long keepAlive) |
Modifier and Type | Method and Description |
---|---|
static EnhancedQueueExecutorFactory |
create(int maxThreads,
int queueSize) |
org.jboss.threads.management.ManageableThreadPoolExecutorService |
createExecutor(ThreadFactory factory) |
void |
validate()
Validate parameters for the thread pool executor factory
|
coreThreads, keepAlive, maxThreads, queueLength
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createsNonBlockingThreads
protected EnhancedQueueExecutorFactory(int maxThreads, int coreThreads, int queueLength, long keepAlive)
public static EnhancedQueueExecutorFactory create(int maxThreads, int queueSize)
public org.jboss.threads.management.ManageableThreadPoolExecutorService createExecutor(ThreadFactory factory)
public void validate()
ThreadPoolExecutorFactory
Copyright © 2021 JBoss by Red Hat. All rights reserved.