akka.cluster
Class ClusterHeartbeatSenderState
java.lang.Object
akka.cluster.ClusterHeartbeatSenderState
- All Implemented Interfaces:
- java.io.Serializable, scala.Equals, scala.Product
public class ClusterHeartbeatSenderState
- extends java.lang.Object
- implements scala.Product, scala.Serializable
INTERNAL API
State of ClusterHeartbeatSender
. Encapsulated to facilitate unit testing.
It is immutable, but it updates the failureDetector.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface scala.Product |
productArity, productElement, productIterator, productPrefix |
Methods inherited from interface scala.Equals |
canEqual, equals |
ClusterHeartbeatSenderState
public ClusterHeartbeatSenderState(HeartbeatNodeRing ring,
scala.collection.immutable.Set<UniqueAddress> oldReceiversNowUnreachable,
FailureDetectorRegistry<Address> failureDetector)
ring
public HeartbeatNodeRing ring()
oldReceiversNowUnreachable
public scala.collection.immutable.Set<UniqueAddress> oldReceiversNowUnreachable()
failureDetector
public FailureDetectorRegistry<Address> failureDetector()
activeReceivers
public scala.collection.immutable.Set<UniqueAddress> activeReceivers()
selfAddress
public UniqueAddress selfAddress()
init
public ClusterHeartbeatSenderState init(scala.collection.immutable.Set<UniqueAddress> nodes,
scala.collection.immutable.Set<UniqueAddress> unreachable)
contains
public boolean contains(UniqueAddress node)
addMember
public ClusterHeartbeatSenderState addMember(UniqueAddress node)
removeMember
public ClusterHeartbeatSenderState removeMember(UniqueAddress node)
unreachableMember
public ClusterHeartbeatSenderState unreachableMember(UniqueAddress node)
reachableMember
public ClusterHeartbeatSenderState reachableMember(UniqueAddress node)
heartbeatRsp
public ClusterHeartbeatSenderState heartbeatRsp(UniqueAddress from)