is the timestamp in milliseconds since the
epoch when the transition to Open
happened
is the current resetTimeout
that is
applied to this Open
state, to be multiplied by the
exponential backoff factor for the next transition from
HalfOpen
to Open
, in case the reset attempt fails
The timestamp in milliseconds since the epoch, specifying
when the Open
state is to transition to HalfOpen.
The timestamp in milliseconds since the epoch, specifying
when the Open
state is to transition to HalfOpen.
It is calculated as:
startedAt + resetTimeout.toMillis
is the current resetTimeout
that is
applied to this Open
state, to be multiplied by the
exponential backoff factor for the next transition from
HalfOpen
to Open
, in case the reset attempt fails
is the timestamp in milliseconds since the
epoch when the transition to Open
happened
State of the TaskCircuitBreaker in which the circuit breaker rejects all tasks with an ExecutionRejectedException.
Contract:
ExecutionRejectedException
resetTimeout
, the circuit breaker enters a HalfOpen state, allowing one task to go through for testing the connectionis the timestamp in milliseconds since the epoch when the transition to
Open
happenedis the current
resetTimeout
that is applied to thisOpen
state, to be multiplied by the exponential backoff factor for the next transition fromHalfOpen
toOpen
, in case the reset attempt fails