Couchbase .NET SDK | 3.4.4
Search Results for

    Show / Hide Table of Contents

    Class GetAllReplicasOptions

    Optional parameters for GetAllReplicasAsync(String, GetAllReplicasOptions)

    Inheritance
    Object
    GetAllReplicasOptions
    Namespace: Couchbase.KeyValue
    Assembly: Couchbase.NetClient.dll
    Syntax
    public class GetAllReplicasOptions : object, ITranscoderOverrideOptions, ITimeoutOptions, IKeyValueOptions

    Fields

    | Improve this Doc View Source

    DefaultReadOnly

    Declaration
    public static readonly GetAllReplicasOptions.ReadOnly DefaultReadOnly
    Field Value
    Type Description
    GetAllReplicasOptions.ReadOnly

    Properties

    | Improve this Doc View Source

    Default

    Declaration
    public static GetAllReplicasOptions Default { get; }
    Property Value
    Type Description
    GetAllReplicasOptions

    Methods

    | Improve this Doc View Source

    AsReadOnly()

    Declaration
    public GetAllReplicasOptions.ReadOnly AsReadOnly()
    Returns
    Type Description
    GetAllReplicasOptions.ReadOnly
    | Improve this Doc View Source

    CancellationToken(CancellationToken)

    A CancellationToken(CancellationToken) for cooperative cancellation.

    Declaration
    public GetAllReplicasOptions CancellationToken(CancellationToken token)
    Parameters
    Type Name Description
    CancellationToken token
    Returns
    Type Description
    GetAllReplicasOptions

    A GetAllReplicasOptions instance for chaining.

    | Improve this Doc View Source

    Deconstruct(out CancellationToken, out ITypeTranscoder, out IRetryStrategy, out IRequestSpan)

    Declaration
    public void Deconstruct(out CancellationToken token, out ITypeTranscoder transcoder, out IRetryStrategy retryStrategy, out IRequestSpan requestSpan)
    Parameters
    Type Name Description
    CancellationToken token
    ITypeTranscoder transcoder
    IRetryStrategy retryStrategy
    IRequestSpan requestSpan
    | 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 GetAllReplicasOptions RequestSpan(IRequestSpan span)
    Parameters
    Type Name Description
    IRequestSpan span

    An IRequestSpan

    Returns
    Type Description
    GetAllReplicasOptions

    A GetAllReplicasOptions instance for chaining.

    | Improve this Doc View Source

    RetryStrategy(IRetryStrategy)

    Inject a custom IRetryStrategy.

    Declaration
    public GetAllReplicasOptions RetryStrategy(IRetryStrategy retryStrategy)
    Parameters
    Type Name Description
    IRetryStrategy retryStrategy
    Returns
    Type Description
    GetAllReplicasOptions

    A GetAllReplicasOptions instance for chaining.

    | Improve this Doc View Source

    Transcoder(ITypeTranscoder)

    Inject a ITypeTranscoder other than the default JsonTranscoder.

    Declaration
    public GetAllReplicasOptions Transcoder(ITypeTranscoder transcoder)
    Parameters
    Type Name Description
    ITypeTranscoder transcoder
    Returns
    Type Description
    GetAllReplicasOptions

    A GetAllReplicasOptions instance for chaining.

    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2023 Couchbase, Inc.