arrow-fx-coroutines / arrow.fx.coroutines / CircuitBreaker / State / Closed
class Closed : State
The initial State of the CircuitBreaker. While in this state, the circuit breaker allows tasks to be executed.
Contract:
failures counter.failures counter reaches the maxFailures count,
the breaker is tripped into the CircuitBreaker.Open state.failures - is the current failures count
| <init> | The initial State of the CircuitBreaker. While in this state, the circuit breaker allows tasks to be executed.Closed(failures: Int) |
| failures | is the current failures countval failures: Int |
| equals | fun equals(other: Any?): Boolean |
| hashCode | fun hashCode(): Int |
| toString | fun toString(): String |
Do you like Arrow?
✖