Uses of Class
io.smallrye.faulttolerance.api.CircuitBreakerState
-
-
Uses of CircuitBreakerState in io.smallrye.faulttolerance.api
Methods in io.smallrye.faulttolerance.api that return CircuitBreakerState Modifier and Type Method Description CircuitBreakerStateCircuitBreakerMaintenance. currentState(String name)Returns current state of the circuit breaker with givenname.static CircuitBreakerStateCircuitBreakerState. valueOf(String name)Returns the enum constant of this type with the specified name.static CircuitBreakerState[]CircuitBreakerState. values()Returns an array containing the constants of this enum type, in the order they are declared.Method parameters in io.smallrye.faulttolerance.api with type arguments of type CircuitBreakerState Modifier and Type Method Description voidCircuitBreakerMaintenance. onStateChange(String name, Consumer<CircuitBreakerState> callback)Registers acallbackto be called when the circuit breaker with givennamechanges state.FaultTolerance.Builder.CircuitBreakerBuilder<T,R>FaultTolerance.Builder.CircuitBreakerBuilder. onStateChange(Consumer<CircuitBreakerState> callback)Sets a callback that will be invoked upon each state change of this circuit breaker.
-