Class GetAndLockOptions
Inheritance
GetAndLockOptions
Assembly: Couchbase.NetClient.dll
Syntax
public class GetAndLockOptions : object, ITranscoderOverrideOptions, ITimeoutOptions, IKeyValueOptions
Fields
|
Improve this Doc
View Source
DefaultReadOnly
Declaration
public static readonly GetAndLockOptions.ReadOnly DefaultReadOnly
Field Value
Methods
|
Improve this Doc
View Source
AsReadOnly()
Declaration
public GetAndLockOptions.ReadOnly AsReadOnly()
Returns
|
Improve this Doc
View Source
CancellationToken(CancellationToken)
Declaration
public GetAndLockOptions CancellationToken(CancellationToken token)
Parameters
Type |
Name |
Description |
CancellationToken |
token |
|
Returns
|
Improve this Doc
View Source
Deconstruct(out Nullable<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
|
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 GetAndLockOptions RequestSpan(IRequestSpan span)
Parameters
Returns
|
Improve this Doc
View Source
RetryStrategy(IRetryStrategy)
Declaration
public GetAndLockOptions 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 GetAndLockOptions Timeout(TimeSpan timeout)
Parameters
Type |
Name |
Description |
TimeSpan |
timeout |
|
Returns
|
Improve this Doc
View Source
Transcoder(ITypeTranscoder)
Declaration
public GetAndLockOptions Transcoder(ITypeTranscoder transcoder)
Parameters
Returns