IProxyStateLookup Interface

Definition

Allows access to the proxy's current set of routes and clusters.

public interface IProxyStateLookup
type IProxyStateLookup = interface
Public Interface IProxyStateLookup

Methods

Name Description
GetClusters()

Enumerates all current clusters. This is thread safe but the collection may change mid-enumeration if the configuration is reloaded.

GetRoutes()

Enumerates all current routes. This is thread safe but the collection may change mid-enumeration if the configuration is reloaded.

TryGetCluster(String, ClusterState)

Retrieves a specific cluster by id, if present.

TryGetRoute(String, RouteModel)

Retrieves a specific route by id, if present.

Applies to