ScheduledThreadPoolSupplier (common.configurable) Configuration

Type: io.helidon.common.configurable.ScheduledThreadPoolSupplier

Configuration options

Optional configuration options
keytypedefault valuedescription
core-pool-size

int

16

Core pool size of the thread pool executor. Defaults to DEFAULT_CORE_POOL_SIZE.

@return corePoolSize see java.util.concurrent.ThreadPoolExecutor#getCorePoolSize()
is-daemon

boolean

true

Is daemon of the thread pool executor. Defaults to DEFAULT_IS_DAEMON.

@return whether the threads are daemon threads
prestart

boolean

false

Whether to prestart core threads in this thread pool executor. Defaults to DEFAULT_PRESTART.

@return whether to prestart the threads
thread-name-prefix

string

helidon-

Name prefix for threads in this thread pool executor. Defaults to DEFAULT_THREAD_NAME_PREFIX.

@return prefix of a thread name
virtual-threads

boolean

 

When configured to true, an unbounded virtual executor service (project Loom) will be used.

If enabled, all other configuration options of this executor service are ignored!
@return whether to use virtual threads or not, defaults to `false`