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:
ExecutionRejectedExceptionresetTimeout, 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
Openhappenedis the current
resetTimeoutthat is applied to thisOpenstate, to be multiplied by the exponential backoff factor for the next transition fromHalfOpentoOpen, in case the reset attempt fails