Package io.helidon.common.configurable
Class ThreadPoolConfig.Builder
java.lang.Object
io.helidon.common.configurable.ThreadPoolConfig.BuilderBase<ThreadPoolConfig.Builder,ThreadPoolConfig>
io.helidon.common.configurable.ThreadPoolConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<ThreadPoolConfig.Builder,,ThreadPoolConfig> Prototype.ConfiguredBuilder<ThreadPoolConfig.Builder,,ThreadPoolConfig> Builder<ThreadPoolConfig.Builder,,ThreadPoolSupplier> Supplier<ThreadPoolSupplier>
- Enclosing interface:
ThreadPoolConfig
public static class ThreadPoolConfig.Builder
extends ThreadPoolConfig.BuilderBase<ThreadPoolConfig.Builder,ThreadPoolConfig>
implements Builder<ThreadPoolConfig.Builder,ThreadPoolSupplier>
Fluent API builder for
ThreadPoolSupplier.-
Nested Class Summary
Nested classes/interfaces inherited from class io.helidon.common.configurable.ThreadPoolConfig.BuilderBase
ThreadPoolConfig.BuilderBase.ThreadPoolConfigImpl -
Method Summary
Methods inherited from class io.helidon.common.configurable.ThreadPoolConfig.BuilderBase
clearName, clearThreadNamePrefix, config, config, corePoolSize, corePoolSize, daemon, daemon, from, from, growthRate, growthRate, growthThreshold, growthThreshold, keepAlive, keepAlive, maxPoolSize, maxPoolSize, name, name, preBuildPrototype, queueCapacity, queueCapacity, rejectionHandler, rejectionHandler, shouldPrestart, shouldPrestart, threadNamePrefix, threadNamePrefix, toString, validatePrototype, virtualThreads, virtualThreadsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.builder.api.Prototype.Builder
selfMethods inherited from interface io.helidon.builder.api.Prototype.ConfiguredBuilder
discoverService, discoverServices
-
Method Details
-
buildPrototype
Description copied from interface:Prototype.BuilderCreate an instance of thePrototype. This method is available on all generated builders forPrototype.Blueprint.- Specified by:
buildPrototypein interfacePrototype.Builder<ThreadPoolConfig.Builder,ThreadPoolConfig> - Returns:
- an instance of the setup object created from this builder
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Specified by:
buildin interfaceBuilder<ThreadPoolConfig.Builder,ThreadPoolSupplier> - Returns:
- instance of the built type
-