ZooKeeperBasedMembershipTable.InitializeMembershipTable 方法

定义

初始化基于 ZooKeeper 的成员身份表。

public System.Threading.Tasks.Task InitializeMembershipTable (Orleans.Runtime.Configuration.GlobalConfiguration config, bool tryInitPath, Orleans.Runtime.Logger logger);
abstract member InitializeMembershipTable : Orleans.Runtime.Configuration.GlobalConfiguration * bool * Orleans.Runtime.Logger -> System.Threading.Tasks.Task
override this.InitializeMembershipTable : Orleans.Runtime.Configuration.GlobalConfiguration * bool * Orleans.Runtime.Logger -> System.Threading.Tasks.Task
Public Function InitializeMembershipTable (config As GlobalConfiguration, tryInitPath As Boolean, logger As Logger) As Task

参数

config
GlobalConfiguration

此实例的配置。

tryInitPath
Boolean

如果设置为 true,我们将尝试创建名为“/DeploymentId”的节点

logger
Logger

此实例要使用的记录器

返回

实现

适用于