public class ThreadPoolConfig$
extends java.lang.Object
implements scala.Serializable
Modifier and Type | Field and Description |
---|---|
static ThreadPoolConfig$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
ThreadPoolConfig$() |
Modifier and Type | Method and Description |
---|---|
scala.Function0<java.util.concurrent.BlockingQueue<java.lang.Runnable>> |
arrayBlockingQueue(int capacity,
boolean fair) |
boolean |
defaultAllowCoreThreadTimeout() |
int |
defaultCorePoolSize() |
int |
defaultMaxPoolSize() |
java.util.concurrent.RejectedExecutionHandler |
defaultRejectionPolicy() |
scala.concurrent.duration.Duration |
defaultTimeout() |
scala.Function0<java.util.concurrent.BlockingQueue<java.lang.Runnable>> |
linkedBlockingQueue() |
scala.Function0<java.util.concurrent.BlockingQueue<java.lang.Runnable>> |
linkedBlockingQueue(int capacity) |
scala.Function0<java.util.concurrent.BlockingQueue<java.lang.Runnable>> |
reusableQueue(java.util.concurrent.BlockingQueue<java.lang.Runnable> queue) |
scala.Function0<java.util.concurrent.BlockingQueue<java.lang.Runnable>> |
reusableQueue(scala.Function0<java.util.concurrent.BlockingQueue<java.lang.Runnable>> queueFactory) |
int |
scaledPoolSize(int floor,
double multiplier,
int ceiling) |
scala.Function0<java.util.concurrent.BlockingQueue<java.lang.Runnable>> |
synchronousQueue(boolean fair) |
public static final ThreadPoolConfig$ MODULE$
public boolean defaultAllowCoreThreadTimeout()
public int defaultCorePoolSize()
public int defaultMaxPoolSize()
public scala.concurrent.duration.Duration defaultTimeout()
public java.util.concurrent.RejectedExecutionHandler defaultRejectionPolicy()
public int scaledPoolSize(int floor, double multiplier, int ceiling)
public scala.Function0<java.util.concurrent.BlockingQueue<java.lang.Runnable>> arrayBlockingQueue(int capacity, boolean fair)
public scala.Function0<java.util.concurrent.BlockingQueue<java.lang.Runnable>> synchronousQueue(boolean fair)
public scala.Function0<java.util.concurrent.BlockingQueue<java.lang.Runnable>> linkedBlockingQueue()
public scala.Function0<java.util.concurrent.BlockingQueue<java.lang.Runnable>> linkedBlockingQueue(int capacity)
public scala.Function0<java.util.concurrent.BlockingQueue<java.lang.Runnable>> reusableQueue(java.util.concurrent.BlockingQueue<java.lang.Runnable> queue)
public scala.Function0<java.util.concurrent.BlockingQueue<java.lang.Runnable>> reusableQueue(scala.Function0<java.util.concurrent.BlockingQueue<java.lang.Runnable>> queueFactory)