C# Class Akka.Cluster.HeartbeatNodeRing

INTERNAL API Data structure for picking heartbeat receivers. The node ring is shuffled by deterministic hashing to avoid picking physically co-located neighbors. It is immutable, i.e. the methods all return new instances.
Mostrar archivo Open project: rogeralsing/akka.net Class Usage Examples

Public Properties

Property Type Description
MyReceivers Lazy>

Public Methods

Method Description
Copy ( UniqueAddress selfAddress = null, IEnumerable nodes = null, int monitoredByNumberOfNodes = null ) : HeartbeatNodeRing
HeartbeatNodeRing ( UniqueAddress selfAddress, IEnumerable nodes, int monitoredByNumberOfNodes ) : System
HeartbeatNodeRing ( UniqueAddress selfAddress, ImmutableSortedSet nodes, int monitoredByNumberOfNodes ) : System
Receivers ( UniqueAddress sender ) : ImmutableHashSet
operator ( ) : HeartbeatNodeRing

Method Details

Copy() public method

public Copy ( UniqueAddress selfAddress = null, IEnumerable nodes = null, int monitoredByNumberOfNodes = null ) : HeartbeatNodeRing
selfAddress UniqueAddress
nodes IEnumerable
monitoredByNumberOfNodes int
return HeartbeatNodeRing

HeartbeatNodeRing() public method

public HeartbeatNodeRing ( UniqueAddress selfAddress, IEnumerable nodes, int monitoredByNumberOfNodes ) : System
selfAddress UniqueAddress
nodes IEnumerable
monitoredByNumberOfNodes int
return System

HeartbeatNodeRing() public method

public HeartbeatNodeRing ( UniqueAddress selfAddress, ImmutableSortedSet nodes, int monitoredByNumberOfNodes ) : System
selfAddress UniqueAddress
nodes ImmutableSortedSet
monitoredByNumberOfNodes int
return System

Receivers() public method

public Receivers ( UniqueAddress sender ) : ImmutableHashSet
sender UniqueAddress
return ImmutableHashSet

operator() public static method

public static operator ( ) : HeartbeatNodeRing
return HeartbeatNodeRing

Property Details

MyReceivers public_oe property

Receivers for SelfAddress. Cached for subsequent access.
public Lazy> MyReceivers
return Lazy>