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