ZooKeeperBasedMembershipTable.InitializeMembershipTable(Boolean) 方法

定义

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

public System.Threading.Tasks.Task InitializeMembershipTable (bool tryInitPath);
abstract member InitializeMembershipTable : bool -> System.Threading.Tasks.Task
override this.InitializeMembershipTable : bool -> System.Threading.Tasks.Task
Public Function InitializeMembershipTable (tryInitPath As Boolean) As Task

参数

tryInitPath
Boolean

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

返回

实现

适用于