Package io.helidon.common.configurable
Class ScheduledThreadPoolConfig.BuilderBase.ScheduledThreadPoolConfigImpl
java.lang.Object
io.helidon.common.configurable.ScheduledThreadPoolConfig.BuilderBase.ScheduledThreadPoolConfigImpl
- All Implemented Interfaces:
Prototype.Api
,Prototype.Factory<ScheduledThreadPoolSupplier>
,ScheduledThreadPoolConfig
,Supplier<ScheduledThreadPoolSupplier>
- Enclosing class:
ScheduledThreadPoolConfig.BuilderBase<BUILDER extends ScheduledThreadPoolConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends ScheduledThreadPoolConfig>
protected static class ScheduledThreadPoolConfig.BuilderBase.ScheduledThreadPoolConfigImpl
extends Object
implements ScheduledThreadPoolConfig, Supplier<ScheduledThreadPoolSupplier>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.common.configurable.ScheduledThreadPoolConfig
ScheduledThreadPoolConfig.Builder, ScheduledThreadPoolConfig.BuilderBase<BUILDER extends ScheduledThreadPoolConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends ScheduledThreadPoolConfig> -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Default core pool size (16).static final boolean
Default daemon status of the created threads (true).static final boolean
Default prestart status of threads (false).static final String
Default thread name prefix ("helidon-"). -
Constructor Summary
ModifierConstructorDescriptionprotected
Create an instance providing a builder. -
Method Summary
-
Field Details
-
DEFAULT_CORE_POOL_SIZE
static final int DEFAULT_CORE_POOL_SIZEDefault core pool size (16).- See Also:
-
DEFAULT_IS_DAEMON
static final boolean DEFAULT_IS_DAEMONDefault daemon status of the created threads (true).- See Also:
-
DEFAULT_THREAD_NAME_PREFIX
Default thread name prefix ("helidon-").- See Also:
-
DEFAULT_PRESTART
static final boolean DEFAULT_PRESTARTDefault prestart status of threads (false).- See Also:
-
-
Constructor Details
-
ScheduledThreadPoolConfigImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
build
Description copied from interface:Prototype.Factory
Create a new instance of the runtime type from this config object.- Specified by:
build
in interfacePrototype.Factory<ScheduledThreadPoolSupplier>
- Returns:
- new configured runtime instance
-
get
- Specified by:
get
in interfaceSupplier<ScheduledThreadPoolSupplier>
-
virtualThreads
public boolean virtualThreads() -
corePoolSize
public int corePoolSize() -
daemon
public boolean daemon() -
threadNamePrefix
-
prestart
public boolean prestart() -
toString
-
equals
-
hashCode
public int hashCode()
-