Class PrependOptions
Inheritance
PrependOptions
Assembly: Couchbase.NetClient.dll
Syntax
public class PrependOptions : object, ITimeoutOptions, IKeyValueOptions
Fields
|
Improve this Doc
View Source
DefaultReadOnly
Declaration
public static readonly PrependOptions.ReadOnly DefaultReadOnly
Field Value
Methods
|
Improve this Doc
View Source
AsReadOnly()
Declaration
public PrependOptions.ReadOnly AsReadOnly()
Returns
|
Improve this Doc
View Source
CancellationToken(CancellationToken)
Declaration
public PrependOptions CancellationToken(CancellationToken token)
Parameters
Type |
Name |
Description |
CancellationToken |
token |
|
Returns
|
Improve this Doc
View Source
Cas(UInt64)
Compare and Set value for optimistic locking of a document.
Declaration
public PrependOptions Cas(ulong cas)
Parameters
Type |
Name |
Description |
UInt64 |
cas |
A value returned by the server in a previous operation.
|
Returns
|
Improve this Doc
View Source
Deconstruct(out UInt64, out ReplicateTo, out PersistTo, out DurabilityLevel, out Nullable<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
|
Improve this Doc
View Source
Durability(DurabilityLevel)
The durability level required for persisting a JSON document across the cluster.
Declaration
public PrependOptions Durability(DurabilityLevel durabilityLevel)
Parameters
Type |
Name |
Description |
DurabilityLevel |
durabilityLevel |
The Couchbase.KeyValue.PrependOptions.DurabilityLevel required for persistance.
|
Returns
|
Improve this Doc
View Source
Durability(PersistTo, ReplicateTo)
Declaration
public PrependOptions Durability(PersistTo persistTo, ReplicateTo replicateTo)
Parameters
Returns
|
Improve this Doc
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
|
Improve this Doc
View Source
RetryStrategy(IRetryStrategy)
Declaration
public PrependOptions RetryStrategy(IRetryStrategy retryStrategy)
Parameters
Returns
|
Improve this Doc
View Source
Timeout(TimeSpan)
The time in which the operation will timeout if it does not complete.
Declaration
public PrependOptions Timeout(TimeSpan timeout)
Parameters
Type |
Name |
Description |
TimeSpan |
timeout |
|
Returns