Class GetAndLockOptions
Inheritance
GetAndLockOptions
Assembly: Couchbase.NetClient.dll
Syntax
public class GetAndLockOptions
Constructors
View Source
GetAndLockOptions()
Declaration
public GetAndLockOptions()
Fields
View Source
DefaultReadOnly
Declaration
public static readonly GetAndLockOptions.ReadOnly DefaultReadOnly
Field Value
Methods
View Source
AsReadOnly()
Declaration
public GetAndLockOptions.ReadOnly AsReadOnly()
Returns
View Source
CancellationToken(CancellationToken)
Declaration
public GetAndLockOptions CancellationToken(CancellationToken token)
Parameters
Returns
View Source
Deconstruct(out TimeSpan?, out CancellationToken, out ITypeTranscoder?, out IRetryStrategy?, out IRequestSpan?)
Declaration
public void Deconstruct(out TimeSpan? timeout, out CancellationToken token, out ITypeTranscoder? transcoder, out IRetryStrategy? retryStrategy, out IRequestSpan? requestSpan)
Parameters
View Source
RequestSpan(IRequestSpan)
Inject an external span which will be the parent span of the internal span(s).
Declaration
public GetAndLockOptions RequestSpan(IRequestSpan span)
Parameters
Returns
View Source
RetryStrategy(IRetryStrategy)
Declaration
public GetAndLockOptions RetryStrategy(IRetryStrategy retryStrategy)
Parameters
Returns
View Source
Timeout(TimeSpan)
The time in which the operation will timeout if it does not complete.
Declaration
public GetAndLockOptions Timeout(TimeSpan timeout)
Parameters
Returns
View Source
Transcoder(ITypeTranscoder?)
Declaration
public GetAndLockOptions Transcoder(ITypeTranscoder? transcoder)
Parameters
Returns