Package | Description |
---|---|
org.jboss.threads |
Modifier and Type | Method and Description |
---|---|
EnhancedQueueExecutor.Builder |
EnhancedQueueExecutor.Builder.allowCoreThreadTimeOut(boolean allowCoreTimeOut)
Establish whether core threads are allowed to time out.
|
EnhancedQueueExecutor.Builder |
EnhancedQueueExecutor.Builder.setCorePoolSize(int coreSize)
Set the core pool size.
|
EnhancedQueueExecutor.Builder |
EnhancedQueueExecutor.Builder.setExceptionHandler(Thread.UncaughtExceptionHandler exceptionHandler)
Set the uncaught exception handler.
|
EnhancedQueueExecutor.Builder |
EnhancedQueueExecutor.Builder.setGrowthResistance(float growthResistance)
Set the thread pool growth resistance.
|
EnhancedQueueExecutor.Builder |
EnhancedQueueExecutor.Builder.setHandoffExecutor(Executor handoffExecutor)
Set the handoff executor.
|
EnhancedQueueExecutor.Builder |
EnhancedQueueExecutor.Builder.setKeepAliveTime(long keepAliveTime,
TimeUnit keepAliveUnits)
Set the thread keep-alive time.
|
EnhancedQueueExecutor.Builder |
EnhancedQueueExecutor.Builder.setMaximumPoolSize(int maxSize)
Set the maximum pool size.
|
EnhancedQueueExecutor.Builder |
EnhancedQueueExecutor.Builder.setMaximumQueueSize(int maxQueueSize)
Set the maximum queue size.
|
EnhancedQueueExecutor.Builder |
EnhancedQueueExecutor.Builder.setMBeanName(String mBeanName)
Set the overridden MBean name.
|
EnhancedQueueExecutor.Builder |
EnhancedQueueExecutor.Builder.setRegisterMBean(boolean registerMBean)
Establish whether an MBean should automatically be registered for this pool.
|
EnhancedQueueExecutor.Builder |
EnhancedQueueExecutor.Builder.setTerminationTask(Runnable terminationTask)
Set the termination task.
|
EnhancedQueueExecutor.Builder |
EnhancedQueueExecutor.Builder.setThreadFactory(ThreadFactory threadFactory)
Set the configured thread factory.
|
Copyright © 2023 JBoss by Red Hat. All rights reserved.