akka.cluster
Class ClusterHeartbeatSenderState

java.lang.Object
  extended by 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

Constructor Summary
ClusterHeartbeatSenderState(HeartbeatNodeRing ring, scala.collection.immutable.Set<UniqueAddress> oldReceiversNowUnreachable, FailureDetectorRegistry<Address> failureDetector)
           
 
Method Summary
 scala.collection.immutable.Set<UniqueAddress> activeReceivers()
           
 ClusterHeartbeatSenderState addMember(UniqueAddress node)
           
 boolean contains(UniqueAddress node)
           
 FailureDetectorRegistry<Address> failureDetector()
           
 ClusterHeartbeatSenderState heartbeatRsp(UniqueAddress from)
           
 ClusterHeartbeatSenderState init(scala.collection.immutable.Set<UniqueAddress> nodes, scala.collection.immutable.Set<UniqueAddress> unreachable)
           
 scala.collection.immutable.Set<UniqueAddress> oldReceiversNowUnreachable()
           
 ClusterHeartbeatSenderState reachableMember(UniqueAddress node)
           
 ClusterHeartbeatSenderState removeMember(UniqueAddress node)
           
 HeartbeatNodeRing ring()
           
 UniqueAddress selfAddress()
           
 ClusterHeartbeatSenderState unreachableMember(UniqueAddress node)
           
 
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
 

Constructor Detail

ClusterHeartbeatSenderState

public ClusterHeartbeatSenderState(HeartbeatNodeRing ring,
                                   scala.collection.immutable.Set<UniqueAddress> oldReceiversNowUnreachable,
                                   FailureDetectorRegistry<Address> failureDetector)
Method Detail

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)