Skip to content

AdoNetClusteringTable.ReadAllAsync(CancellationToken)

ReadAllAsync(CancellationToken)

View source
public Task<MembershipTableData> ReadAllAsync(CancellationToken cancellationToken = default(CancellationToken))
Atomically reads the full content of the Membership Table. The returned MembershipTableData includes all MembershipEntry entry for all silos in the table and the TableVersion for this table. The MembershipEntries and the TableVersion have to be read atomically.

Parameters

cancellationTokenCancellationToken
A token which cancels the operation.

Returns

The membership information for a given table: MembershipTableData consisting multiple MembershipEntry entries and TableVersion, all read atomically.