C# Class Akka.Cluster.ClusterHeartbeatSenderState

INTERNAL API State of ClusterHeartbeatSender. Encapsulated to facilitate unit testing. It is immutable, but it updates the failure detector.
Mostra file Open project: rogeralsing/akka.net Class Usage Examples

Public Properties

Property Type Description
ActiveReceivers ImmutableHashSet

Public Methods

Method Description
AddMember ( UniqueAddress node ) : ClusterHeartbeatSenderState
ClusterHeartbeatSenderState ( HeartbeatNodeRing ring, ImmutableHashSet unreachable, IFailureDetectorRegistry
failureDetector ) : System
Copy ( HeartbeatNodeRing ring = null, ImmutableHashSet unreachable = null, IFailureDetectorRegistry
failureDetector = null ) : ClusterHeartbeatSenderState
HeartbeatRsp ( UniqueAddress from ) : ClusterHeartbeatSenderState
Init ( ImmutableHashSet nodes ) : ClusterHeartbeatSenderState
RemoveMember ( UniqueAddress node ) : ClusterHeartbeatSenderState

Private Methods

Method Description
MembershipChange ( HeartbeatNodeRing newRing ) : ClusterHeartbeatSenderState

Method Details

AddMember() public method

public AddMember ( UniqueAddress node ) : ClusterHeartbeatSenderState
node UniqueAddress
return ClusterHeartbeatSenderState

ClusterHeartbeatSenderState() public method

public ClusterHeartbeatSenderState ( HeartbeatNodeRing ring, ImmutableHashSet unreachable, IFailureDetectorRegistry
failureDetector ) : System
ring HeartbeatNodeRing
unreachable ImmutableHashSet
failureDetector IFailureDetectorRegistry
return System

Copy() public method

public Copy ( HeartbeatNodeRing ring = null, ImmutableHashSet unreachable = null, IFailureDetectorRegistry
failureDetector = null ) : ClusterHeartbeatSenderState
ring HeartbeatNodeRing
unreachable ImmutableHashSet
failureDetector IFailureDetectorRegistry
return ClusterHeartbeatSenderState

HeartbeatRsp() public method

public HeartbeatRsp ( UniqueAddress from ) : ClusterHeartbeatSenderState
from UniqueAddress
return ClusterHeartbeatSenderState

Init() public method

public Init ( ImmutableHashSet nodes ) : ClusterHeartbeatSenderState
nodes ImmutableHashSet
return ClusterHeartbeatSenderState

RemoveMember() public method

public RemoveMember ( UniqueAddress node ) : ClusterHeartbeatSenderState
node UniqueAddress
return ClusterHeartbeatSenderState

Property Details

ActiveReceivers public_oe property

public ImmutableHashSet ActiveReceivers
return ImmutableHashSet