Search Results for

    Show / Hide Table of Contents

    Class DestinationHealthTracker

    Passive health bookkeeping and active-request counters for destination pools.

    Inheritance
    object
    DestinationHealthTracker
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Titanium.Web.Proxy.Clusters
    Assembly: Titanium.Web.Proxy.dll
    Syntax
    public sealed class DestinationHealthTracker

    Constructors

    | Edit this page View Source

    DestinationHealthTracker()

    Declaration
    public DestinationHealthTracker()
    | Edit this page View Source

    DestinationHealthTracker(TimeProvider)

    Declaration
    public DestinationHealthTracker(TimeProvider timeProvider)
    Parameters
    Type Name Description
    TimeProvider timeProvider

    Methods

    | Edit this page View Source

    GetActiveRequests(string)

    Declaration
    public long GetActiveRequests(string destinationId)
    Parameters
    Type Name Description
    string destinationId
    Returns
    Type Description
    long
    | Edit this page View Source

    ReportFailure(string, IClusterManager?, int)

    Declaration
    public void ReportFailure(string destinationId, IClusterManager? manager, int unhealthyThreshold = 3)
    Parameters
    Type Name Description
    string destinationId
    IClusterManager manager
    int unhealthyThreshold
    | Edit this page View Source

    ReportStatus(string, int, IClusterManager?, PassiveHealthConfig?, int)

    Classifies one finished response. 502, 503, and 504 are failures. Other codes, including 500, are successes.

    Declaration
    public void ReportStatus(string destinationId, int statusCode, IClusterManager? manager, PassiveHealthConfig? passive, int destinationCount)
    Parameters
    Type Name Description
    string destinationId
    int statusCode
    IClusterManager manager
    PassiveHealthConfig passive
    int destinationCount
    | Edit this page View Source

    ReportSuccess(string)

    Declaration
    public void ReportSuccess(string destinationId)
    Parameters
    Type Name Description
    string destinationId
    | Edit this page View Source

    TrackRequest(string)

    Declaration
    public IDisposable TrackRequest(string destinationId)
    Parameters
    Type Name Description
    string destinationId
    Returns
    Type Description
    IDisposable
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX