Table of Contents

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 = 0

The circuit is closed and allowing operations through. This is the normal operating state.

HalfOpen = 2

The circuit is half-open, testing if the underlying service has recovered. A limited number of operations are allowed through.

Open = 1

The circuit is open and rejecting all operations. This state is entered when the failure threshold is exceeded.