Open
When the CircuitBreaker is in the Open state it will short-circuit/fail-fast all requests - All requests short-circuit/fail-fast with ExecutionRejected
- If a request is made after the configured resetTimeout passes, the CircuitBreaker is tripped into the a HalfOpen state, allowing one request to go through as a test.
Parameters
startedAt
is the timestamp in milliseconds since the epoch when the transition to Open happened.
resetTimeout
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
.