Description

Supplier of a custom thread pool.

Usages

Configuration options

KeyKindTypeDefault ValueDescription
core-pool-sizeVALUEInteger10Core pool size of the thread pool executor
growth-rateVALUEInteger0The percentage of task submissions that should result in adding threads, expressed as a value from 1 to 100
growth-thresholdVALUEInteger1000The queue size above which pool growth will be considered if the pool is not fixed size
is-daemonVALUEBooleantrueIs daemon of the thread pool executor
keep-aliveVALUEDurationPT3MKeep alive of the thread pool executor
max-pool-sizeVALUEInteger50Max pool size of the thread pool executor
nameVALUEString Name of this thread pool executor
queue-capacityVALUEInteger10000Queue capacity of the thread pool executor
should-prestartVALUEBooleantrueWhether to prestart core threads in this thread pool executor
thread-name-prefixVALUEString Name prefix for threads in this thread pool executor
virtual-threadsVALUEBoolean When configured to true, an unbounded virtual executor service (project Loom) will be used

See the manifest for all available types.