Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Class CircuitBreakerConfiguration

    Inheritance
    object
    CircuitBreakerConfiguration
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Couchbase.Core.CircuitBreakers
    Assembly: Couchbase.NetClient.dll
    Syntax
    public class CircuitBreakerConfiguration

    Fields

    | Edit this page View Source

    Default

    Declaration
    public static CircuitBreakerConfiguration Default
    Field Value
    Type Description
    CircuitBreakerConfiguration

    Properties

    | Edit this page View Source

    CanaryTimeout

    The timeout for the canary request until it is deemed failed

    Declaration
    public TimeSpan CanaryTimeout { get; set; }
    Property Value
    Type Description
    TimeSpan
    | Edit this page View Source

    CompletionCallback

    Called on every response to determine if it is successful or not. The default implementation counts SocketException, TimeoutException and TaskCanceledExceptions, RequestCanceledException as failures.

    Declaration
    public Func<Exception, bool> CompletionCallback { get; set; }
    Property Value
    Type Description
    Func<Exception, bool>
    | Edit this page View Source

    Enabled

    Declaration
    public bool Enabled { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    ErrorThresholdPercentage

    The percentage of operations that need to fail in a window until the circuit opens.

    Declaration
    public uint ErrorThresholdPercentage { get; set; }
    Property Value
    Type Description
    uint
    | Edit this page View Source

    RollingWindow

    The rolling time-frame which is used to calculate the error threshold percentage.

    Declaration
    public TimeSpan RollingWindow { get; set; }
    Property Value
    Type Description
    TimeSpan
    | Edit this page View Source

    SleepWindow

    The initial sleep time after which a canary is sent as a probe.

    Declaration
    public TimeSpan SleepWindow { get; set; }
    Property Value
    Type Description
    TimeSpan
    | Edit this page View Source

    VolumeThreshold

    The minimum amount of operations to measure before the threshold percentage kicks in.

    Declaration
    public int VolumeThreshold { get; set; }
    Property Value
    Type Description
    int
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.