Edit

Share via


ZooKeeperGatewayListProvider Class

Definition

public class ZooKeeperGatewayListProvider : Orleans.Messaging.IGatewayListProvider
type ZooKeeperGatewayListProvider = class
    interface IGatewayListProvider
Public Class ZooKeeperGatewayListProvider
Implements IGatewayListProvider
Inheritance
ZooKeeperGatewayListProvider
Implements

Constructors

ZooKeeperGatewayListProvider(ILogger<ZooKeeperGatewayListProvider>, IOptions<ZooKeeperGatewayListProviderOptions>, IOptions<GatewayOptions>, IOptions<ClusterOptions>)

Properties

IsUpdatable

Specifies whether this IGatewayListProvider ever refreshes its returned information, or always returns the same gw list. (currently only the static config based StaticGatewayListProvider is not updatable. All others are.)

MaxStaleness

Specifies how often this IGatewayListProvider is refreshed, to have a bound on max staleness of its returned information.

Methods

GetGateways()

Returns 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.

InitializeGatewayListProvider()

Initializes the ZooKeeper based gateway provider

Applies to