Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Class RequestBase

    Inheritance
    object
    RequestBase
    AnalyticsRequest
    Implements
    IRequest
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Couchbase.Core.Retry
    Assembly: Couchbase.NetClient.dll
    Syntax
    public abstract class RequestBase : IRequest

    Properties

    | Edit this page View Source

    Attempts

    Declaration
    public uint Attempts { get; set; }
    Property Value
    Type Description
    uint
    | Edit this page View Source

    ClientContextId

    Gets the context identifier for the analytics request. Useful for debugging.

    Declaration
    public string? ClientContextId { get; set; }
    Property Value
    Type Description
    string

    The unique request ID.

    Remarks

    This value changes for every request.

    | Edit this page View Source

    Elapsed

    The total time expired at the time the operation is called. If another retry happens, it will be updated once the response is received.

    Declaration
    public TimeSpan Elapsed { get; }
    Property Value
    Type Description
    TimeSpan
    | Edit this page View Source

    Idempotent

    Declaration
    public abstract bool Idempotent { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Recorder

    A IValueRecorder instance for measuring latencies.

    Declaration
    [Obsolete("Unused, will be removed in a future version.")]
    public IValueRecorder Recorder { get; set; }
    Property Value
    Type Description
    IValueRecorder
    | Edit this page View Source

    RetryReasons

    Declaration
    public List<RetryReason> RetryReasons { get; set; }
    Property Value
    Type Description
    List<RetryReason>
    | Edit this page View Source

    RetryStrategy

    Declaration
    public IRetryStrategy RetryStrategy { get; set; }
    Property Value
    Type Description
    IRetryStrategy
    | Edit this page View Source

    Statement

    Declaration
    public string? Statement { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Timeout

    Declaration
    public TimeSpan Timeout { get; set; }
    Property Value
    Type Description
    TimeSpan
    | Edit this page View Source

    Token

    Declaration
    public CancellationToken Token { get; set; }
    Property Value
    Type Description
    CancellationToken

    Methods

    | Edit this page View Source

    LogOrphaned()

    Declaration
    public void LogOrphaned()
    | Edit this page View Source

    StopRecording()

    Stops the operation timer and writes the elapsed milliseconds to the IValueRecorder.

    Declaration
    public abstract void StopRecording()
    | Edit this page View Source

    StopRecording(Type?)

    Declaration
    public virtual void StopRecording(Type? errorType)
    Parameters
    Type Name Description
    Type errorType

    Implements

    IRequest

    Extension Methods

    RequestExtensions.IncrementAttempts(IRequest, RetryReason)
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.