Class GetAnyReplicaOptions
Inheritance
GetAnyReplicaOptions
Assembly: Couchbase.NetClient.dll
Syntax
public class GetAnyReplicaOptions
Fields
|
Edit this page
View Source
DefaultReadOnly
Declaration
public static readonly GetAnyReplicaOptions.ReadOnly DefaultReadOnly
Field Value
Properties
|
Edit this page
View Source
Default
Declaration
public static GetAnyReplicaOptions Default { get; }
Property Value
Methods
|
Edit this page
View Source
AsReadOnly()
Declaration
public GetAnyReplicaOptions.ReadOnly AsReadOnly()
Returns
|
Edit this page
View Source
CancellationToken(CancellationToken)
Declaration
public GetAnyReplicaOptions CancellationToken(CancellationToken token)
Parameters
Returns
|
Edit this page
View Source
Deconstruct(out CancellationToken, out ITypeTranscoder?, out IRetryStrategy?, out IRequestSpan?, out InternalReadPreference)
Declaration
public void Deconstruct(out CancellationToken token, out ITypeTranscoder? transcoder, out IRetryStrategy? retryStrategy, out IRequestSpan? requestSpan, out InternalReadPreference readPreference)
Parameters
|
Edit this page
View Source
ReadPreference(ReadPreference)
Sets whether the operation should only target Nodes in the server group specified in the ClusterOptions.
Declaration
public GetAnyReplicaOptions ReadPreference(ReadPreference readPreference)
Parameters
| Type |
Name |
Description |
| ReadPreference |
readPreference |
The read preference.
|
Returns
|
Edit this page
View Source
RequestSpan(IRequestSpan)
Declaration
public GetAnyReplicaOptions RequestSpan(IRequestSpan span)
Parameters
Returns
|
Edit this page
View Source
RetryStrategy(IRetryStrategy)
Declaration
public GetAnyReplicaOptions RetryStrategy(IRetryStrategy retryStrategy)
Parameters
Returns
|
Edit this page
View Source
Transcoder(ITypeTranscoder?)
Declaration
public GetAnyReplicaOptions Transcoder(ITypeTranscoder? transcoder)
Parameters
Returns