Uses of Interface
io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitState
Packages that use CircuitState
-
Uses of CircuitState in io.github.teceli.resiliencia.patterns.circuitbreaker
Classes in io.github.teceli.resiliencia.patterns.circuitbreaker that implement CircuitStateModifier and TypeClassDescriptionstatic final recordCalls pass through normally while their outcomes are recorded in the sliding window.static final recordA limited number of test calls are let through to probe whether the downstream has recovered.static final recordCalls are rejected immediately.Methods in io.github.teceli.resiliencia.patterns.circuitbreaker that return CircuitStateModifier and TypeMethodDescriptionCircuitBreaker.state()The current state, computed fresh on each call: forCircuitState.Open, the returnedremainingWaitreflects the time left until a HalfOpen test call is attempted, not the originally configuredwaitDurationInOpenState.