Class GetAllReplicasOptions
Inheritance
GetAllReplicasOptions
Assembly: Couchbase.NetClient.dll
Syntax
public class GetAllReplicasOptions
Constructors
View Source
GetAllReplicasOptions()
Declaration
public GetAllReplicasOptions()
Fields
View Source
DefaultReadOnly
Declaration
public static readonly GetAllReplicasOptions.ReadOnly DefaultReadOnly
Field Value
Properties
View Source
Default
Declaration
public static GetAllReplicasOptions Default { get; }
Property Value
Methods
View Source
AsReadOnly()
Declaration
public GetAllReplicasOptions.ReadOnly AsReadOnly()
Returns
View Source
CancellationToken(CancellationToken)
Declaration
public GetAllReplicasOptions CancellationToken(CancellationToken token)
Parameters
Returns
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
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
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
View Source
RetryStrategy(IRetryStrategy)
Declaration
public GetAllReplicasOptions RetryStrategy(IRetryStrategy retryStrategy)
Parameters
Returns
View Source
Transcoder(ITypeTranscoder?)
Declaration
public GetAllReplicasOptions Transcoder(ITypeTranscoder? transcoder)
Parameters
Returns