ThreadPoolSupplier (common.configurable) Configuration

Type: io.helidon.common.configurable.ThreadPoolSupplier

Configuration options

Optional configuration options
keytypedefault valuedescription
core-pool-size

int

10

Core pool size of the thread pool executor.

is-daemon

boolean

true

Is daemon of the thread pool executor.

keep-alive-minutes

int

3

Keep alive minutes of the thread pool executor.

max-pool-size

int

50

Max pool size of the thread pool executor.

queue-capacity

int

10000

Queue capacity of the thread pool executor.

should-prestart

boolean

true

Whether to prestart core threads in this thread pool executor.

thread-name-prefix

string

helidon-

Name prefix for threads in this thread pool executor.

virtual-enforced

boolean

false

Experimental When configured to true, virtual thread executor service must be available, otherwise the built executor would fail to start.

virtual-threads

boolean

false

Experimental When configured to true, an unbounded virtual executor service (project Loom) will be used if available. This is an experimental feature.

If enabled and available, all other configuration options of this executor service are ignored!