ConsulGatewayListProvider
class
Namespace: Orleans.Runtime.Membership
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
public class ConsulGatewayListProvider : IGatewayListProviderConstructors
Properties
IsUpdatableGets a value indicating whether this IGatewayListProvider ever refreshes its returned information, or always returns the same gateway list.MaxStalenessGets the period of time between refreshes.
Methods
GetGatewaysReturns the list of gateways (silos) that can be used by a client to connect to Orleans cluster. The Uri is in the form of: "gwy.tcp://IP:port/Generation". See Utils.ToGatewayUri and Utils.ToSiloAddress for more details about Uri format.InitializeGatewayListProviderInitializes the provider, will be called before all other methods.
