Search Results for

    Show / Hide Table of Contents

    Class ClusterManager

    Thread-safe cluster manager. Snapshot is swapped with Interlocked.Exchange; in-flight sessions keep the previous snapshot reference.

    Inheritance
    object
    ClusterManager
    Implements
    IClusterManager
    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 ClusterManager : IClusterManager

    Properties

    | Edit this page View Source

    Snapshot

    Declaration
    public ImmutableClusterSnapshot Snapshot { get; }
    Property Value
    Type Description
    ImmutableClusterSnapshot

    Methods

    | Edit this page View Source

    ApplyAsync(IReadOnlyList<ClusterConfig>, CancellationToken)

    Declaration
    public ValueTask ApplyAsync(IReadOnlyList<ClusterConfig> clusters, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    IReadOnlyList<ClusterConfig> clusters
    CancellationToken cancellationToken
    Returns
    Type Description
    ValueTask
    | Edit this page View Source

    GetDestinationState(string)

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

    SetDestinationState(string, DestinationState)

    Declaration
    public void SetDestinationState(string destinationId, DestinationState state)
    Parameters
    Type Name Description
    string destinationId
    DestinationState state

    Implements

    Titanium.Web.Proxy.Abstractions.Routing.IClusterManager
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX