Uses of Class
io.github.teceli.resiliencia.patterns.bulkhead.Bulkhead
Packages that use Bulkhead
-
Uses of Bulkhead in io.github.teceli.resiliencia.patterns.bulkhead
Methods in io.github.teceli.resiliencia.patterns.bulkhead that return BulkheadModifier and TypeMethodDescriptionstatic <T> Bulkhead<T> ABulkheadallowing the given number of concurrent calls, rejecting excess calls immediately (maxWaitzero).Use a customClockinstead of the system clock for event timestamps.Bulkhead.withListener(ResilienceEvent.Listener listener) Add a listener notified of everyBulkheadEventemitted by this instance.Bulkhead.withMaxConcurrentCalls(int maxConcurrentCalls) Maximum number of calls allowed to execute concurrently.Bulkhead.withMaxWait(Duration maxWait) How long an excess call may wait for a permit before being rejected.