Whether the circuit breaker is enabled.
Check if a request to url is allowed through. Throws if circuit is open.
Optionalurl: stringCurrent circuit breaker state for the endpoint group that url belongs to (read-only, does not create entries).
Record a failed request — may trip the circuit open.
Optionalurl: stringRecord a successful request — resets the failure counter.
Optionalurl: stringReset all circuit states.
Backward-compatible getter — returns the state of the first tracked endpoint, or a default closed state if no endpoints have been recorded yet.