Skip to content

MembershipTableData Methods

Represents an atomic snapshot of membership entries and the membership table version.

ToString

override
View source
public override string ToString()
Returns a string that represents the current object.

Returns

A string that represents the current object.

TryGet(SiloAddress)

View source
public Tuple<MembershipEntry, string>? TryGet(SiloAddress silo)
Finds the membership row for the specified silo.

Parameters

siloSiloAddress
The silo address to find.

Returns

The membership entry and entity tag, or null if the silo is not present.

WithoutDuplicateDeads

View source
public MembershipTableData WithoutDuplicateDeads()
Creates a membership table snapshot which retains only the latest dead silo generation for each endpoint.

Returns

A membership table snapshot containing all non-dead entries and the latest dead entry for each endpoint.