Class LookupInAnyReplicaOptions
Inheritance
LookupInAnyReplicaOptions
Assembly: Couchbase.NetClient.dll
Syntax
public class LookupInAnyReplicaOptions : object, ITimeoutOptions, ITranscoderOverrideOptions, IKeyValueOptions
Fields
|
Improve this Doc
View Source
DefaultReadOnly
Declaration
public static readonly LookupInOptions.ReadOnly DefaultReadOnly
Field Value
Methods
|
Improve this Doc
View Source
AsReadOnly()
Declaration
public LookupInOptions.ReadOnly AsReadOnly()
Returns
|
Improve this Doc
View Source
CancellationToken(CancellationToken)
Declaration
public LookupInAnyReplicaOptions CancellationToken(CancellationToken token)
Parameters
Type |
Name |
Description |
CancellationToken |
token |
|
Returns
|
Improve this Doc
View Source
Deconstruct(out Nullable<TimeSpan>, out CancellationToken, out ITypeSerializer, out ITypeTranscoder, out IRetryStrategy, out IRequestSpan)
Declaration
public void Deconstruct(out TimeSpan? timeout, out CancellationToken token, out ITypeSerializer serializer, 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 LookupInAnyReplicaOptions RequestSpan(IRequestSpan span)
Parameters
Returns
|
Improve this Doc
View Source
RetryStrategy(IRetryStrategy)
Declaration
public LookupInAnyReplicaOptions RetryStrategy(IRetryStrategy retryStrategy)
Parameters
Returns
|
Improve this Doc
View Source
Serializer(ITypeSerializer)
Declaration
public LookupInAnyReplicaOptions Serializer(ITypeSerializer serializer)
Parameters
Returns
|
Improve this Doc
View Source
Timeout(Nullable<TimeSpan>)
The time in which the operation will timeout if it does not complete.
Declaration
public LookupInAnyReplicaOptions Timeout(TimeSpan? timeout)
Parameters
Type |
Name |
Description |
Nullable<TimeSpan> |
timeout |
|
Returns
|
Improve this Doc
View Source
Transcoder(ITypeTranscoder)
Only used internally for full doc gets which also need the expiry. Should not be used for JSON-based LookupIn ops.
Not exposed for public consumption.
Declaration
public LookupInAnyReplicaOptions Transcoder(ITypeTranscoder transcoder)
Parameters
Returns