Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Class QueueOptions

    Behavior options for the IPersistentQueue<T> implementation.

    Inheritance
    object
    QueueOptions
    Implements
    IEquatable<QueueOptions>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Couchbase.DataStructures
    Assembly: Couchbase.NetClient.dll
    Syntax
    public sealed record QueueOptions : IEquatable<QueueOptions>

    Constructors

    | Edit this page View Source

    QueueOptions(int, TimeSpan?)

    Behavior options for the IPersistentQueue<T> implementation.

    Declaration
    public QueueOptions(int CasMismatchRetries = 10, TimeSpan? Timeout = null)
    Parameters
    Type Name Description
    int CasMismatchRetries

    For operations that use Cas, such as Dequeue() the number of times a CasMismatchException will be retried internally.

    TimeSpan? Timeout

    The timeout value for operations that involve retries. Defaults to KvTimeout.

    Fields

    | Edit this page View Source

    DefaultCasMismatchRetries

    Declaration
    public const int DefaultCasMismatchRetries = 10
    Field Value
    Type Description
    int

    Properties

    | Edit this page View Source

    CasMismatchRetries

    For operations that use Cas, such as Dequeue() the number of times a CasMismatchException will be retried internally.

    Declaration
    public int CasMismatchRetries { get; init; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Timeout

    The timeout value for operations that involve retries. Defaults to KvTimeout.

    Declaration
    public TimeSpan? Timeout { get; init; }
    Property Value
    Type Description
    TimeSpan?

    Implements

    IEquatable<T>
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.