Skip to content

ClusterMembershipSnapshot Methods

Represents a snapshot of cluster membership.

GetSiloStatus(SiloAddress)

View source
public SiloStatus GetSiloStatus(SiloAddress silo)
Gets status of the specified silo.

Parameters

siloSiloAddress
The silo.

Returns

The status of the specified silo.

GetSiloStatus(SiloAddress, MembershipVersion)

View source
public SiloStatus GetSiloStatus(SiloAddress silo, MembershipVersion seenAtVersion)
Gets status of the specified silo, treating unknown silos as dead if this snapshot is newer than when the silo was seen.

Parameters

siloSiloAddress
The silo.
seenAtVersionMembershipVersion
The membership version when the silo was last seen.

Returns

The status of the specified silo.

ToString

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

Returns

A string that represents the current object.