PrivatefailurePrivatehalfPrivatelastPrivate ReadonlynamePrivate ReadonlyoptionsPrivatestatePrivatesuccessGet current failure count
Get current circuit breaker state
Get circuit breaker statistics
Check if circuit is allowing requests
PrivateonPrivateonManually reset the circuit breaker to closed state
Circuit breaker for protecting against cascading failures
Automatically opens after repeated failures, preventing further requests until a recovery timeout elapses. Then enters half-open state to test recovery.