arrow-fx-coroutines / arrow.fx.coroutines / CircuitBreaker / State / Open

Open

class Open : State

Constructors

<init> State of the CircuitBreaker in which the circuit breaker rejects all tasks with an ExecutionRejected.Open(startedAt: Long, resetTimeoutNanos: Double)Open(startedAt: Long, resetTimeout: Duration, awaitClose: Promise<Unit>)

Properties

expiresAt The timestamp in milliseconds since the epoch, specifying when the Open state is to transition to HalfOpen.val expiresAt: Long
resetTimeout val ~~resetTimeout~~: Duration
resetTimeoutNanos val resetTimeoutNanos: Double
startedAt val startedAt: Long

Functions

equals fun equals(other: Any?): Boolean
hashCode fun hashCode(): Int
toString fun toString(): String

Do you like Arrow?

Arrow Org
<