Class PrependOptions
Inheritance
PrependOptions
Assembly: Couchbase.NetClient.dll
Syntax
public class PrependOptions
Fields
|
Edit this page
View Source
DefaultReadOnly
Declaration
public static readonly PrependOptions.ReadOnly DefaultReadOnly
Field Value
Methods
|
Edit this page
View Source
AsReadOnly()
Declaration
public PrependOptions.ReadOnly AsReadOnly()
Returns
|
Edit this page
View Source
CancellationToken(CancellationToken)
Declaration
public PrependOptions CancellationToken(CancellationToken token)
Parameters
Returns
|
Edit this page
View Source
Cas(ulong)
Compare and Set value for optimistic locking of a document.
Declaration
public PrependOptions Cas(ulong cas)
Parameters
Type |
Name |
Description |
ulong |
cas |
A ulong value returned by the server in a previous operation.
|
Returns
|
Edit this page
View Source
Deconstruct(out ulong, out ReplicateTo, out PersistTo, out DurabilityLevel, out TimeSpan?, out CancellationToken, out IRetryStrategy?, out IRequestSpan?)
Declaration
public void Deconstruct(out ulong cas, out ReplicateTo replicateTo, out PersistTo persistTo, out DurabilityLevel durabilityLevel, out TimeSpan? timeout, out CancellationToken token, out IRetryStrategy? retryStrategy, out IRequestSpan? requestSpan)
Parameters
|
Edit this page
View Source
Durability(DurabilityLevel)
The durability level required for persisting a JSON document across the cluster.
Declaration
public PrependOptions Durability(DurabilityLevel durabilityLevel)
Parameters
Returns
|
Edit this page
View Source
Durability(PersistTo, ReplicateTo)
Declaration
public PrependOptions Durability(PersistTo persistTo, ReplicateTo replicateTo)
Parameters
Returns
|
Edit this page
View Source
RequestSpan(IRequestSpan)
Inject an external span which will the be the parent span of the internal span(s).
Declaration
public PrependOptions RequestSpan(IRequestSpan span)
Parameters
Returns
|
Edit this page
View Source
RetryStrategy(IRetryStrategy)
Declaration
public PrependOptions RetryStrategy(IRetryStrategy retryStrategy)
Parameters
Returns
|
Edit this page
View Source
Timeout(TimeSpan)
The time in which the operation will timeout if it does not complete.
Declaration
public PrependOptions Timeout(TimeSpan timeout)
Parameters
Returns