Enum CircuitState
- Namespace
- Excalibur.Dispatch.Resilience
- Assembly
- Excalibur.Dispatch.Abstractions.dll
Represents the current state of a circuit breaker.
public enum CircuitState
- Extension Methods
Fields
Closed = 0The circuit is closed and allowing operations through. This is the normal operating state.
HalfOpen = 2The circuit is half-open, testing if the underlying service has recovered. A limited number of operations are allowed through.
Open = 1The circuit is open and rejecting all operations. This state is entered when the failure threshold is exceeded.