Called by a circuit breaker to find out if an operation should be allowed to proceed.
Called by a circuit breaker to find out if an operation should be allowed to proceed.
a pair of a boolean flag indicating if the operation should succeed, and the next circuit breaker state
Called by a circuit breaker when an operation fails
Called by a circuit breaker when an operation fails
the next circuit breaker state
Called by a circuit breaker when an operation succeeds
Called by a circuit breaker when an operation succeeds
the next circuit breaker state
The circuit is half-open, meaning that it was open, but that a single test operation has been allowed to proceed and we are waiting to find out whether it will be successful or not