Struct CircuitBreakerBreakDurationEvent<TResult>
- Namespace
- Kevlar
- Assembly
- Kevlar.dll
Describes the typed handled outcome that is about to open a circuit.
public readonly struct CircuitBreakerBreakDurationEvent<TResult>
Type Parameters
TResultThe shield result type.
- 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
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
Outcome
The handled outcome that opened the circuit.
public Outcome<TResult> Outcome { get; }
Property Value
- Outcome<TResult>