Couchbase .NET SDK | 3.7.0
Search Results for

    Show / Hide Table of Contents

    Interface IPersistentQueue<T>

    Represents a queue which is persisted to a backing store.

    Inherited Members
    ICollection.CopyTo(Array, int)
    ICollection.Count
    ICollection.IsSynchronized
    ICollection.SyncRoot
    IEnumerable.GetEnumerator()
    Namespace: Couchbase.DataStructures
    Assembly: Couchbase.NetClient.dll
    Syntax
    public interface IPersistentQueue<T> : ICollection, IEnumerable
    Type Parameters
    Name Description
    T

    Type of value in the set.

    Remarks

    If using a SystemTextJsonSerializer backed by a JsonSerializerContext, be sure to include IList<T> in a JsonSerializableAttribute on the context.

    Properties

    | Edit this page View Source

    CountAsync

    Declaration
    Task<int> CountAsync { get; }
    Property Value
    Type Description
    Task<int>

    Methods

    | Edit this page View Source

    Clear()

    Declaration
    void Clear()
    | Edit this page View Source

    ClearAsync()

    Declaration
    Task ClearAsync()
    Returns
    Type Description
    Task
    | Edit this page View Source

    Dequeue()

    Declaration
    T? Dequeue()
    Returns
    Type Description
    T
    | Edit this page View Source

    DequeueAsync()

    Declaration
    Task<T?> DequeueAsync()
    Returns
    Type Description
    Task<T>
    | Edit this page View Source

    Enqueue(T)

    Declaration
    void Enqueue(T item)
    Parameters
    Type Name Description
    T item
    | Edit this page View Source

    EnqueueAsync(T)

    Declaration
    Task EnqueueAsync(T item)
    Parameters
    Type Name Description
    T item
    Returns
    Type Description
    Task
    | Edit this page View Source

    Peek()

    Declaration
    T? Peek()
    Returns
    Type Description
    T
    | Edit this page View Source

    PeekAsync()

    Declaration
    Task<T?> PeekAsync()
    Returns
    Type Description
    Task<T>
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.