CircuitBreakerConfiguration Class |
[Missing <summary> documentation for "T:Couchbase.Core.CircuitBreakers.CircuitBreakerConfiguration"]
Namespace: Couchbase.Core.CircuitBreakers
public class CircuitBreakerConfiguration
The CircuitBreakerConfiguration type exposes the following members.
| Name | Description | |
|---|---|---|
| CircuitBreakerConfiguration | Initializes a new instance of the CircuitBreakerConfiguration class |
| Name | Description | |
|---|---|---|
| CanaryTimeout |
The timeout for the canary request until it is deemed failed
| |
| CompletionCallback |
Called on every response to determine if it is successful or not. The default
implementation counts SocketException, TimeoutException and TaskCanceledExceptions
as failures.
| |
| Enabled | ||
| ErrorThresholdPercentage |
The percentage of operations that need to fail in a window until the circuit opens.
| |
| RollingWindow |
The rolling time-frame which is used to calculate the error threshold percentage.
| |
| SleepWindow |
The initial sleep time after which a canary is sent as a probe.
| |
| VolumeThreshold |
The minimum amount of operations to measure before the threshold percentage kicks in.
|