Struct CircuitBreakerBreakDurationEvent
- Namespace
- Kevlar
- Assembly
- Kevlar.dll
Describes the handled outcome that is about to open a circuit.
public readonly struct CircuitBreakerBreakDurationEvent
- Inherited Members
Properties
ConsecutiveFailures
The consecutive handled-failure count when the circuit opened.
public int ConsecutiveFailures { get; }
Property Value
Context
The ambient execution context. It is pooled; do not retain it or its property bag after the callback completes.
public KevlarContext Context { get; }
Property Value
Exception
The handled exception, or null when a result was handled.
public Exception? Exception { get; }
Property Value
FailureCount
The handled-failure count when the circuit opened.
public long FailureCount { get; }
Property Value
FailureRate
The handled-failure ratio when the circuit opened.
public double FailureRate { get; }
Property Value
Result
The handled result (boxed), or null when an exception occurred.
public object? Result { get; }