Show / Hide Table of Contents

Class ClusterState

Representation of a cluster for use at runtime.

Inheritance
Object
ClusterState
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Yarp.ReverseProxy.Model
Assembly: Yarp.ReverseProxy.dll
Syntax
public sealed class ClusterState

Constructors

| Improve this Doc View Source

ClusterState(String)

Creates a new instance. This constructor is for tests and infrastructure, this type is normally constructed by the configuration loading infrastructure.

Declaration
public ClusterState(string clusterId)
Parameters
Type Name Description
String clusterId

Properties

| Improve this Doc View Source

ClusterId

The cluster's unique id.

Declaration
public string ClusterId { get; }
Property Value
Type Description
String
| Improve this Doc View Source

Destinations

All of the destinations associated with this cluster. This collection is populated by the configuration system and should only be directly modified in a test environment. Call IClusterDestinationsUpdater after modifying this collection.

Declaration
public ConcurrentDictionary<string, DestinationState> Destinations { get; }
Property Value
Type Description
ConcurrentDictionary<String, DestinationState>
| Improve this Doc View Source

DestinationsState

Stores the state of cluster's destinations that can change atomically in reaction to runtime state changes (e.g. changes of destinations' health).

Declaration
public ClusterDestinationsState DestinationsState { get; set; }
Property Value
Type Description
ClusterDestinationsState
| Improve this Doc View Source

Model

Encapsulates parts of a cluster that can change atomically in reaction to config changes.

Declaration
public ClusterModel Model { get; }
Property Value
Type Description
ClusterModel
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX