CircuitBreakerStateEnum Enum
Enum determining the state of a circuit breaker.
enum CircuitBreakerStateEnum {
CLOSED
HALF_OPEN
OPEN
}
Values​
CircuitBreakerStateEnum.CLOSED
​
The breaker is conducting (requests are passing through).
CircuitBreakerStateEnum.HALF_OPEN
​
The breaker is in a trial period (to close or open). Note that unlike classic breaker patterns, this is not a state where we are throttling the number of requests, it's a state similar to CLOSED but with different thresholds.
CircuitBreakerStateEnum.OPEN
​
The breaker is tripped (no requests are passing). Breaker will enter half-open state after cooldown period.
Member Of​
App
object