UTIL_CircuitBreaker.State
Class
apex
global enum UTIL_CircuitBreaker.StateEnum representing the circuit breaker state
Inner Classes
| Class | Description |
|---|---|
| CLOSED | Normal operation - requests pass through |
| HALF_OPEN | Testing recovery - limited requests allowed to test if service recovered |
| 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