Interface ICircuitBreakerDiagnostics
- Namespace
- Excalibur.Dispatch.Resilience
- Assembly
- Excalibur.Dispatch.dll
Provides diagnostic information about a circuit breaker's operational state. Test an ICircuitBreakerPolicy instance for this interface to reach it.
public interface ICircuitBreakerDiagnostics
- Extension Methods
Properties
ConsecutiveFailures
Gets the number of consecutive failures since the last success.
int ConsecutiveFailures { get; }
Property Value
LastOpenedAt
Gets the timestamp when the circuit was last opened.
DateTimeOffset? LastOpenedAt { get; }