Uses of Interface
dev.failsafe.CircuitBreaker
-
Packages that use CircuitBreaker Package Description dev.failsafe APIs for performing failsafe executions.dev.failsafe.internal -
-
Uses of CircuitBreaker in dev.failsafe
Fields in dev.failsafe declared as CircuitBreaker Modifier and Type Field Description private CircuitBreaker<?>
CircuitBreakerOpenException. circuitBreaker
Methods in dev.failsafe that return CircuitBreaker Modifier and Type Method Description CircuitBreaker<R>
CircuitBreakerBuilder. build()
Builds a newCircuitBreaker
using the builder's configuration.CircuitBreaker<?>
CircuitBreakerOpenException. getCircuitBreaker()
Returns theCircuitBreaker
that caused the exception.static <R> CircuitBreaker<R>
CircuitBreaker. ofDefaults()
Constructors in dev.failsafe with parameters of type CircuitBreaker Constructor Description CircuitBreakerOpenException(CircuitBreaker<?> circuitBreaker)
-
Uses of CircuitBreaker in dev.failsafe.internal
Classes in dev.failsafe.internal that implement CircuitBreaker Modifier and Type Class Description class
CircuitBreakerImpl<R>
ACircuitBreaker
implementation.Methods in dev.failsafe.internal with parameters of type CircuitBreaker Modifier and Type Method Description private static int
ClosedState. capacityFor(CircuitBreaker<?> breaker)
Returns the capacity of the breaker in the closed state.private static int
HalfOpenState. capacityFor(CircuitBreaker<?> breaker)
Returns the capacity of the breaker in the half-open state.static CircuitStats
CircuitStats. create(CircuitBreaker<?> breaker, int capacity, boolean supportsTimeBased, CircuitStats oldStats)
-