Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Class PersistentStoreBase<TValue>

    Inheritance
    object
    PersistentStoreBase<TValue>
    PersistentList<TValue>
    PersistentQueue<TValue>
    PersistentSet<TValue>
    Implements
    ICollection
    IEnumerable
    IAsyncEnumerable<TValue>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Couchbase.DataStructures
    Assembly: Couchbase.NetClient.dll
    Syntax
    public abstract class PersistentStoreBase<TValue> : ICollection, IEnumerable, IAsyncEnumerable<TValue>
    Type Parameters
    Name Description
    TValue

    Properties

    | Edit this page View Source

    BackingStoreChecked

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

    Collection

    Declaration
    protected ICouchbaseCollection Collection { get; }
    Property Value
    Type Description
    ICouchbaseCollection
    | Edit this page View Source

    Count

    Declaration
    [Obsolete("This method is blocking; please use the async version instead.")]
    public int Count { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    CountAsync

    Declaration
    public Task<int> CountAsync { get; }
    Property Value
    Type Description
    Task<int>
    | Edit this page View Source

    IsSynchronized

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

    Key

    Declaration
    protected string Key { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Logger

    Declaration
    protected ILogger? Logger { get; }
    Property Value
    Type Description
    ILogger
    | Edit this page View Source

    SyncRoot

    Declaration
    public object SyncRoot { get; }
    Property Value
    Type Description
    object

    Methods

    | Edit this page View Source

    Clear()

    Declaration
    [Obsolete("This method is blocking; please use the async version instead.")]
    public void Clear()
    | Edit this page View Source

    ClearAsync()

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

    CopyTo(Array, int)

    Declaration
    [Obsolete("This method is blocking; please use the async version instead.")]
    public void CopyTo(Array array, int index)
    Parameters
    Type Name Description
    Array array
    int index
    | Edit this page View Source

    CopyToAsync(Array, int)

    Declaration
    public Task CopyToAsync(Array array, int index)
    Parameters
    Type Name Description
    Array array
    int index
    Returns
    Type Description
    Task
    | Edit this page View Source

    CopyToAsync(TValue[], int)

    Declaration
    public Task CopyToAsync(TValue[] array, int arrayIndex)
    Parameters
    Type Name Description
    TValue[] array
    int arrayIndex
    Returns
    Type Description
    Task
    | Edit this page View Source

    CreateBackingStore()

    Declaration
    [Obsolete("Use asynchronous overload.")]
    protected virtual void CreateBackingStore()
    | Edit this page View Source

    CreateBackingStoreAsync()

    Declaration
    protected virtual ValueTask CreateBackingStoreAsync()
    Returns
    Type Description
    ValueTask
    | Edit this page View Source

    GetAsyncEnumerator(CancellationToken)

    Returns an enumerator that iterates asynchronously through the collection.

    Declaration
    public IAsyncEnumerator<TValue> GetAsyncEnumerator(CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    CancellationToken cancellationToken

    A CancellationToken that may be used to cancel the asynchronous iteration.

    Returns
    Type Description
    IAsyncEnumerator<TValue>

    An enumerator that can be used to iterate asynchronously through the collection.

    | Edit this page View Source

    GetList()

    Declaration
    [Obsolete("This method is blocking; please use the async version instead.")]
    protected virtual IList<TValue> GetList()
    Returns
    Type Description
    IList<TValue>
    | Edit this page View Source

    GetListAsync()

    Declaration
    protected Task<IList<TValue>> GetListAsync()
    Returns
    Type Description
    Task<IList<TValue>>

    Implements

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