Click or drag to resize

CircuitBreakerConfiguration Class

[Missing <summary> documentation for "T:Couchbase.Core.CircuitBreakers.CircuitBreakerConfiguration"]

Inheritance Hierarchy
SystemObject
  Couchbase.Core.CircuitBreakersCircuitBreakerConfiguration

Namespace:  Couchbase.Core.CircuitBreakers
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntax
C#
public class CircuitBreakerConfiguration

The CircuitBreakerConfiguration type exposes the following members.

Constructors
  NameDescription
Public methodCircuitBreakerConfiguration
Initializes a new instance of the CircuitBreakerConfiguration class
Top
Properties
  NameDescription
Public propertyCanaryTimeout
The timeout for the canary request until it is deemed failed
Public propertyCompletionCallback
Called on every response to determine if it is successful or not. The default implementation counts SocketException, TimeoutException and TaskCanceledExceptions as failures.
Public propertyEnabled
Public propertyErrorThresholdPercentage
The percentage of operations that need to fail in a window until the circuit opens.
Public propertyRollingWindow
The rolling time-frame which is used to calculate the error threshold percentage.
Public propertySleepWindow
The initial sleep time after which a canary is sent as a probe.
Public propertyVolumeThreshold
The minimum amount of operations to measure before the threshold percentage kicks in.
Top
Fields
  NameDescription
Public fieldStatic memberDefault
Top
See Also