Uses of Class
io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig.Builder
Packages that use ThreadPoolBulkheadConfig.Builder
-
Uses of ThreadPoolBulkheadConfig.Builder in io.github.resilience4j.bulkhead
Methods in io.github.resilience4j.bulkhead that return ThreadPoolBulkheadConfig.BuilderModifier and TypeMethodDescriptionThreadPoolBulkheadConfig.Builder.contextPropagator(io.github.resilience4j.core.ContextPropagator... contextPropagators) ThreadPoolBulkheadConfig.Builder.contextPropagator(Class<? extends io.github.resilience4j.core.ContextPropagator>... contextPropagatorClasses) Configures the context propagator class.ThreadPoolBulkheadConfig.Builder.coreThreadPoolSize(int coreThreadPoolSize) Configures the core thread pool size.ThreadPoolBulkheadConfig.custom()Returns a builder to create a custom ThreadPoolBulkheadConfig.ThreadPoolBulkheadConfig.from(ThreadPoolBulkheadConfig threadPoolBulkheadConfig) Returns a builder to create a custom ThreadPoolBulkheadConfig.ThreadPoolBulkheadConfig.Builder.keepAliveDuration(Duration keepAliveDuration) When the number of threads is greater than the core, this is the maximum time duration that excess idle threads will wait for new tasks before terminating.ThreadPoolBulkheadConfig.Builder.maxThreadPoolSize(int maxThreadPoolSize) Configures the max thread pool size.ThreadPoolBulkheadConfig.Builder.queueCapacity(int queueCapacity) Configures the capacity of the queue.ThreadPoolBulkheadConfig.Builder.rejectedExecutionHandler(RejectedExecutionHandler rejectedExecutionHandler) Replaces the defaultThreadPoolExecutor.AbortPolicywith theRejectedExecutionHandlerprovided.ThreadPoolBulkheadConfig.Builder.writableStackTraceEnabled(boolean writableStackTraceEnabled) Enables writable stack traces.