Skip to content

ZooKeeperBasedMembershipTable.InitializeMembershipTableAsync(bool, CancellationToken)

InitializeMembershipTableAsync(bool, CancellationToken)

View source
public Task InitializeMembershipTableAsync(bool tryInitPath, CancellationToken cancellationToken = default(CancellationToken))
Initializes the membership table, will be called before all other methods

Parameters

tryInitPathbool
Whether to initialize the underlying table version.
cancellationTokenCancellationToken
A token which cancels the operation.

Returns

A task representing the initialization operation.