io.helidon.common.configurable.ThreadPoolSupplier
Description
Supplier of a custom thread pool
Configuration options
| Key | Type | Default | Description |
|---|---|---|---|
core-pool-size | Integer | 10 | Core pool size of the thread pool executor |
max-pool-size | Integer | 50 | Max pool size of the thread pool executor |
keep-alive | Duration | PT3M | Keep alive of the thread pool executor |
should-prestart | Boolean | true | Whether to prestart core threads in this thread pool executor |
thread-name-prefix | String | Name prefix for threads in this thread pool executor | |
virtual-threads | Boolean | When configured to true, an unbounded virtual executor service (project Loom) will be used | |
name | String | Name of this thread pool executor | |
is-daemon | Boolean | true | Is daemon of the thread pool executor |
growth-rate | Integer | 0 | The percentage of task submissions that should result in adding threads, expressed as a value from 1 to 100 |
queue-capacity | Integer | 10000 | Queue capacity of the thread pool executor |
growth-threshold | Integer | 1000 | The queue size above which pool growth will be considered if the pool is not fixed size |
See the manifest for all available types.