Table of Contents

Interface IClusterDestinationsUpdater

Namespace
Yarp.ReverseProxy.Health
Assembly
Yarp.ReverseProxy.dll

Updates the cluster's destination collections.

public interface IClusterDestinationsUpdater

Methods

UpdateAllDestinations(ClusterState)

Updates the cluster's collection of all configured destinations. Call this after destinations have been added, removed, or their configuration changed. This does not need to be called for state updates like health, use UpdateAvailableDestinations for state updates.

void UpdateAllDestinations(ClusterState cluster)

Parameters

cluster ClusterState

The ClusterState owing the destinations.

UpdateAvailableDestinations(ClusterState)

Updates the cluster's collection of destination available for proxying requests to. Call this if health state has changed for any destinations.

void UpdateAvailableDestinations(ClusterState cluster)

Parameters

cluster ClusterState

The ClusterState owing the destinations.