Skip to content

io.helidon.common.configurable.ThreadPoolSupplier

Description

Supplier of a custom thread pool

Configuration options

KeyTypeDefaultDescription
core-pool-sizeInteger10Core pool size of the thread pool executor
max-pool-sizeInteger50Max pool size of the thread pool executor
keep-aliveDurationPT3MKeep alive of the thread pool executor
should-prestartBooleantrueWhether to prestart core threads in this thread pool executor
thread-name-prefixStringName prefix for threads in this thread pool executor
virtual-threadsBooleanWhen configured to true, an unbounded virtual executor service (project Loom) will be used
nameStringName of this thread pool executor
is-daemonBooleantrueIs daemon of the thread pool executor
growth-rateInteger0The percentage of task submissions that should result in adding threads, expressed as a value from 1 to 100
queue-capacityInteger10000Queue capacity of the thread pool executor
growth-thresholdInteger1000The queue size above which pool growth will be considered if the pool is not fixed size

See the manifest for all available types.