Class GetAllReplicasOptions
Inheritance
GetAllReplicasOptions
Assembly: Couchbase.NetClient.dll
Syntax
public class GetAllReplicasOptions
Fields
|
Edit this page
View Source
DefaultReadOnly
Declaration
public static readonly GetAllReplicasOptions.ReadOnly DefaultReadOnly
Field Value
Properties
|
Edit this page
View Source
Default
Declaration
public static GetAllReplicasOptions Default { get; }
Property Value
Methods
|
Edit this page
View Source
AsReadOnly()
Declaration
public GetAllReplicasOptions.ReadOnly AsReadOnly()
Returns
|
Edit this page
View Source
CancellationToken(CancellationToken)
Declaration
public GetAllReplicasOptions 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 GetAllReplicasOptions ReadPreference(ReadPreference readPreference)
Parameters
| Type |
Name |
Description |
| ReadPreference |
readPreference |
The read preference.
|
Returns
|
Edit this page
View Source
RequestSpan(IRequestSpan)
Inject an external span which will be the parent span of the internal span(s).
Declaration
public GetAllReplicasOptions RequestSpan(IRequestSpan span)
Parameters
Returns
|
Edit this page
View Source
RetryStrategy(IRetryStrategy)
Declaration
public GetAllReplicasOptions RetryStrategy(IRetryStrategy retryStrategy)
Parameters
Returns
|
Edit this page
View Source
Transcoder(ITypeTranscoder?)
Declaration
public GetAllReplicasOptions Transcoder(ITypeTranscoder? transcoder)
Parameters
Returns