| Modifier and Type | Method and Description |
|---|---|
static ThreadPoolBuilder |
ThreadPoolBuilder.instance()
Returns a new
ThreadPoolBuilder instance. |
ThreadPoolBuilder |
ThreadPoolBuilder.withMaxRequestQueueSize(int queueSize)
Sets the maximum request queue size for this thread pool.
|
ThreadPoolBuilder |
ThreadPoolBuilder.withMaxThreads(int maxNumberOfThreads)
Sets the max number of threads for the thread pool.
|
ThreadPoolBuilder |
ThreadPoolBuilder.withMinThreads(int minNumberOfThreads)
Sets the minimum number of threads for the thread pool.
|
Copyright © 2016. All rights reserved.