Uses of Class
com.shri.restinpeace.BulkheadConfig.Builder
Packages that use BulkheadConfig.Builder
-
Uses of BulkheadConfig.Builder in com.shri.restinpeace
Methods in com.shri.restinpeace that return BulkheadConfig.BuilderModifier and TypeMethodDescriptionstatic BulkheadConfig.BuilderBulkheadConfig.builder()Starts building a new config, defaulting to 25 max concurrent calls and failing fast (no wait) once that many are already in flight - resilience4j's own default shape for the same feature.BulkheadConfig.Builder.maxConcurrentCalls(int maxConcurrentCalls) Sets the concurrency cap.BulkheadConfig.Builder.maxWaitDuration(Duration maxWaitDuration) Sets how long a call waits for a free permit before being refused with aBulkheadFullException- a queueing tolerance for a bursty caller (see the high-fan-out async persona in the design doc) rather than the fail-fast default, where every permit already being held immediately refuses the call.