Class PersistentStoreBase<TValue>
Inheritance
PersistentStoreBase<TValue>
Assembly: Couchbase.NetClient.dll
Syntax
public abstract class PersistentStoreBase<TValue> : ICollection, IEnumerable, IAsyncEnumerable<TValue>
Type Parameters
Properties
|
Edit this page
View Source
BackingStoreChecked
Declaration
protected bool BackingStoreChecked { get; set; }
Property Value
|
Edit this page
View Source
Collection
Declaration
protected ICouchbaseCollection Collection { get; }
Property Value
|
Edit this page
View Source
Count
Declaration
[Obsolete("This method is blocking; please use the async version instead.")]
public int Count { get; }
Property Value
|
Edit this page
View Source
CountAsync
Declaration
public Task<int> CountAsync { get; }
Property Value
|
Edit this page
View Source
IsSynchronized
Declaration
public bool IsSynchronized { get; }
Property Value
|
Edit this page
View Source
Key
Declaration
protected string Key { get; }
Property Value
|
Edit this page
View Source
Logger
Declaration
protected ILogger? Logger { get; }
Property Value
|
Edit this page
View Source
SyncRoot
Declaration
public object SyncRoot { get; }
Property Value
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
Returns
|
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
|
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
|
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
|
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
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
Implements