Open
data class Open(val delayDuration: Duration, val startTimerMark: ComparableTimeMark, val nrOfTransitionsToOpenStateInACycle: Int) : CircuitBreakerState(source)
Represents the state where the circuit breaker is open and all calls are blocked.
Parameters
delayDuration
The duration for which the circuit breaker will remain in this state. When exceeded, the circuit breaker will transition to the HalfOpen state.
startTimerMark
The time mark at which the circuit breaker entered this state.
Constructors
Link copied to clipboard
internal constructor(delayDuration: Duration, startTimerMark: ComparableTimeMark, nrOfTransitionsToOpenStateInACycle: Int)