Configuration options
| key | type | default value | description |
|---|---|---|---|
|
int |
|
Core pool size of the thread pool executor. Defaults to DEFAULT_CORE_POOL_SIZE. |
|
int |
|
The percentage of task submissions that should result in adding threads, expressed as a value from 1 to 100. The rate applies only when all of the following are true:
For example, a rate of 20 means that while these conditions are met one thread will be added for every 5 submitted tasks. Defaults to DEFAULT_GROWTH_RATE |
|
int |
|
The queue size above which pool growth will be considered if the pool is not fixed size. Defaults to DEFAULT_GROWTH_THRESHOLD. |
|
boolean |
|
Is daemon of the thread pool executor. Defaults to DEFAULT_IS_DAEMON. |
|
Duration |
|
Keep alive of the thread pool executor. Defaults to DEFAULT_KEEP_ALIVE. |
|
int |
|
Max pool size of the thread pool executor. Defaults to DEFAULT_MAX_POOL_SIZE. |
|
string |
|
Name of this thread pool executor. |
|
int |
|
Queue capacity of the thread pool executor. Defaults to DEFAULT_QUEUE_CAPACITY. |
|
boolean |
|
Whether to prestart core threads in this thread pool executor. Defaults to DEFAULT_PRESTART. |
|
string |
|
Name prefix for threads in this thread pool executor. Defaults to DEFAULT_THREAD_NAME_PREFIX. |
|
boolean |
|
When configured to If enabled, all other configuration options of this executor service are ignored! |