public interface ExecutorConfiguration
Modifier and Type | Method and Description |
---|---|
int |
getAwaitTerminationInMillis() |
int |
getCorePoolSize() |
long |
getKeepAliveTime() |
java.util.concurrent.TimeUnit |
getKeepAliveTimeUnit() |
int |
getMaximumPoolSize() |
java.util.concurrent.RejectedExecutionHandler |
getRejectedExecutionHandler() |
java.util.concurrent.ThreadFactory |
getThreadFactory() |
java.util.concurrent.BlockingQueue<java.lang.Runnable> |
getWorkQueue() |
boolean |
isAllowCoreThreadTimeOut() |
int getCorePoolSize()
ThreadPoolExecutor.getCorePoolSize()
int getMaximumPoolSize()
ThreadPoolExecutor.getMaximumPoolSize()
long getKeepAliveTime()
ThreadPoolExecutor.getKeepAliveTime(java.util.concurrent.TimeUnit)
java.util.concurrent.TimeUnit getKeepAliveTimeUnit()
ThreadPoolExecutor.getKeepAliveTime(java.util.concurrent.TimeUnit)
java.util.concurrent.BlockingQueue<java.lang.Runnable> getWorkQueue()
ThreadPoolExecutor.getThreadFactory()
java.util.concurrent.ThreadFactory getThreadFactory()
ThreadPoolExecutor.getThreadFactory()
java.util.concurrent.RejectedExecutionHandler getRejectedExecutionHandler()
ThreadPoolExecutor.getRejectedExecutionHandler()
boolean isAllowCoreThreadTimeOut()
ThreadPoolExecutor.allowCoreThreadTimeOut(boolean)
int getAwaitTerminationInMillis()