Class GetReplicaOptions
Inheritance
GetReplicaOptions
Assembly: Couchbase.NetClient.dll
Syntax
[InterfaceStability(Level.Uncommitted)]
public class GetReplicaOptions
Constructors
View Source
GetReplicaOptions()
Declaration
public GetReplicaOptions()
Fields
View Source
DefaultReadOnly
Declaration
public static readonly GetReplicaOptions.ReadOnly DefaultReadOnly
Field Value
Properties
View Source
Default
Declaration
public static GetReplicaOptions Default { get; }
Property Value
Methods
View Source
AsReadOnly()
Declaration
public GetReplicaOptions.ReadOnly AsReadOnly()
Returns
View Source
CancellationToken(CancellationToken)
Declaration
public GetReplicaOptions CancellationToken(CancellationToken token)
Parameters
Returns
View Source
Deconstruct(out 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
View Source
RequestSpan(IRequestSpan)
Inject an external span which will be the parent span of the internal span(s).
Declaration
public GetReplicaOptions RequestSpan(IRequestSpan span)
Parameters
Returns
View Source
RetryStrategy(IRetryStrategy)
Declaration
public GetReplicaOptions RetryStrategy(IRetryStrategy retryStrategy)
Parameters
Returns
View Source
Timeout(TimeSpan)
The time in which the operation will timeout if it does not complete.
Declaration
public GetReplicaOptions Timeout(TimeSpan timeout)
Parameters
Returns
View Source
Transcoder(ITypeTranscoder?)
Declaration
public GetReplicaOptions Transcoder(ITypeTranscoder? transcoder)
Parameters
Returns