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