TsgcWSCircuitBreaker › Properties

TsgcWSCircuitBreaker Properties

Published properties grouped by purpose, followed by the full alphabetical list.

Core

NameDescription
EnabledMaster switch that turns the whole circuit breaker on or off.
DefaultKeyKey used by the parameterless overloads of Execute, RecordSuccess and RecordFailure.
ServerKeyKey used by the server-side integration hooks (IsConnectionAllowed, IsMessageAllowed, RecordMessageError, RecordMessageSuccess).

Configuration

NameDescription
ThresholdsConditions that trip the circuit from Closed to Open (failure counts, failure rate and slow-call rate).
TimeWindowRolling window (width and bucket count) against which all thresholds are evaluated.
RecoveryHalf-open retry policy that governs how an Open circuit transitions back to Closed.
FallbackAlternative payload returned through OnFallback while the circuit is Open.
ClassificationRules that decide which exceptions are recorded as failures and which are ignored.
PerEndpointCollection of pattern-based overrides that apply different Thresholds/Recovery per host.

Diagnostics

NameDescription
MetricsRead-only aggregate counters exposed for dashboards, logging and alerting.

All Properties (alphabetical)

NameDescription
ClassificationRules that decide which exceptions are recorded as failures and which are ignored.
DefaultKeyKey used by the parameterless overloads of Execute, RecordSuccess and RecordFailure.
EnabledMaster switch that turns the whole circuit breaker on or off.
FallbackAlternative payload returned through OnFallback while the circuit is Open.
MetricsRead-only aggregate counters exposed for dashboards, logging and alerting.
PerEndpointCollection of pattern-based overrides that apply different Thresholds/Recovery per host.
RecoveryHalf-open retry policy that governs how an Open circuit transitions back to Closed.
ServerKeyKey used by the server-side integration hooks (IsConnectionAllowed, IsMessageAllowed, RecordMessageError, RecordMessageSuccess).
ThresholdsConditions that trip the circuit from Closed to Open (failure counts, failure rate and slow-call rate).
TimeWindowRolling window (width and bucket count) against which all thresholds are evaluated.