Uses of Class
io.helidon.common.configurable.ThreadPoolSupplier.Builder
Packages that use ThreadPoolSupplier.Builder
-
Uses of ThreadPoolSupplier.Builder in io.helidon.common.configurable
Methods in io.helidon.common.configurable that return ThreadPoolSupplier.BuilderModifier and TypeMethodDescriptionstatic ThreadPoolSupplier.BuilderServerThreadPoolSupplier.builder()Create a new fluent API builder to build a thread pool supplier.static ThreadPoolSupplier.BuilderThreadPoolSupplier.builder()Create a new fluent API builder to build thread pool supplier.Load all properties for this thread pool from configuration.ThreadPoolSupplier.Builder.corePoolSize(int corePoolSize) Core pool size of the thread pool executor.ThreadPoolSupplier.Builder.daemon(boolean daemon) Is daemon of the thread pool executor.ThreadPoolSupplier.Builder.keepAliveMinutes(int keepAliveMinutes) Keep alive minutes of the thread pool executor.ThreadPoolSupplier.Builder.maxPoolSize(int maxPoolSize) Max pool size of the thread pool executor.Name of this thread pool executor.ThreadPoolSupplier.Builder.prestart(boolean prestart) Whether to prestart core threads in this thread pool executor.ThreadPoolSupplier.Builder.queueCapacity(int queueCapacity) Queue capacity of the thread pool executor.ThreadPoolSupplier.Builder.rejectionHandler(ThreadPool.RejectionHandler rejectionHandler) Rejection policy of the thread pool executor.ThreadPoolSupplier.Builder.threadNamePrefix(String threadNamePrefix) Name prefix for threads in this thread pool executor.ThreadPoolSupplier.Builder.virtualEnforced(boolean enforceVirtualThreads) When configured totrue, virtual thread executor service must be available, otherwise the built executor would fail to start.ThreadPoolSupplier.Builder.virtualIfAvailable(boolean useVirtualThreads) When configured totrue, an unbounded virtual executor service (project Loom) will be used if available.