Modifier and Type |
Method and Description |
abstract static boolean |
canEqual(java.lang.Object that) |
ThreadPoolConfig |
config() |
ThreadPoolConfigBuilder |
configure(scala.collection.Seq<scala.Option<scala.Function1<ThreadPoolConfigBuilder,ThreadPoolConfigBuilder>>> fs) |
abstract static boolean |
equals(java.lang.Object that) |
abstract static int |
productArity() |
abstract static java.lang.Object |
productElement(int n) |
static scala.collection.Iterator<java.lang.Object> |
productIterator() |
static java.lang.String |
productPrefix() |
ThreadPoolConfigBuilder |
setAllowCoreThreadTimeout(boolean allow) |
ThreadPoolConfigBuilder |
setCorePoolSize(int size) |
ThreadPoolConfigBuilder |
setCorePoolSizeFromFactor(int min,
double multiplier,
int max) |
ThreadPoolConfigBuilder |
setFixedPoolSize(int size) |
ThreadPoolConfigBuilder |
setKeepAliveTime(scala.concurrent.duration.Duration time) |
ThreadPoolConfigBuilder |
setKeepAliveTimeInMillis(long time) |
ThreadPoolConfigBuilder |
setMaxPoolSize(int size) |
ThreadPoolConfigBuilder |
setMaxPoolSizeFromFactor(int min,
double multiplier,
int max) |
ThreadPoolConfigBuilder |
setQueueFactory(scala.Function0<java.util.concurrent.BlockingQueue<java.lang.Runnable>> newQueueFactory) |
ThreadPoolConfigBuilder |
withNewThreadPoolWithArrayBlockingQueueWithCapacityAndFairness(int capacity,
boolean fair) |
ThreadPoolConfigBuilder |
withNewThreadPoolWithCustomBlockingQueue(java.util.concurrent.BlockingQueue<java.lang.Runnable> queue) |
ThreadPoolConfigBuilder |
withNewThreadPoolWithCustomBlockingQueue(scala.Function0<java.util.concurrent.BlockingQueue<java.lang.Runnable>> newQueueFactory) |
ThreadPoolConfigBuilder |
withNewThreadPoolWithLinkedBlockingQueueWithCapacity(int capacity) |
ThreadPoolConfigBuilder |
withNewThreadPoolWithLinkedBlockingQueueWithUnboundedCapacity() |
ThreadPoolConfigBuilder |
withNewThreadPoolWithSynchronousQueueWithFairness(boolean fair) |