ClusterState Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Representation of a cluster for use at runtime.
public sealed class ClusterState
type ClusterState = class
Public NotInheritable Class ClusterState
- Inheritance
-
ClusterState
Constructors
ClusterState(String, ClusterModel) |
Constructor overload to additionally initialize the ClusterModel for tests and infrastructure, such as updating the ReverseProxyFeature via HttpContextFeaturesExtensions |
ClusterState(String) |
Creates a new instance. This constructor is for tests and infrastructure, this type is normally constructed by the configuration loading infrastructure. |
Properties
ClusterId |
The cluster's unique id. |
Destinations |
All 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. |
DestinationsState |
Stores the state of cluster's destinations that can change atomically in reaction to runtime state changes (e.g. changes of destinations' health). |
Model |
Encapsulates parts of a cluster that can change atomically in reaction to config changes. |