UTIL_CircuitBreaker.State
Class
apex
global enum UTIL_CircuitBreaker.StateEnum representing the circuit breaker state
Since: 1.0
Values
| Value | Description |
|---|---|
| global CLOSED | Normal operation - requests pass through |
| global HALF_OPEN | Testing recovery - limited requests allowed to test if service recovered |
| global OPEN | Circuit is open - requests fail fast without attempting call |
Value Details
CLOSED
apex
global CLOSEDNormal operation - requests pass through
HALF_OPEN
apex
global HALF_OPENTesting recovery - limited requests allowed to test if service recovered
OPEN
apex
global OPENCircuit is open - requests fail fast without attempting call