Package akka.cluster
Class ClusterHeartbeatSenderState
- java.lang.Object
-
- akka.cluster.ClusterHeartbeatSenderState
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
,scala.Serializable
public final class ClusterHeartbeatSenderState extends java.lang.Object implements scala.Product, scala.Serializable
INTERNAL API State ofClusterHeartbeatSender
. Encapsulated to facilitate unit testing. It is immutable, but it updates the failureDetector.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterHeartbeatSenderState(HeartbeatNodeRing ring, scala.collection.immutable.Set<UniqueAddress> oldReceiversNowUnreachable, FailureDetectorRegistry<Address> failureDetector)
-
Method Summary
-
-
-
Constructor Detail
-
ClusterHeartbeatSenderState
public ClusterHeartbeatSenderState(HeartbeatNodeRing ring, scala.collection.immutable.Set<UniqueAddress> oldReceiversNowUnreachable, FailureDetectorRegistry<Address> failureDetector)
-
-
Method Detail
-
apply
public static ClusterHeartbeatSenderState apply(HeartbeatNodeRing ring, scala.collection.immutable.Set<UniqueAddress> oldReceiversNowUnreachable, FailureDetectorRegistry<Address> failureDetector)
-
unapply
public static scala.Option<scala.Tuple3<HeartbeatNodeRing,scala.collection.immutable.Set<UniqueAddress>,FailureDetectorRegistry<Address>>> unapply(ClusterHeartbeatSenderState x$0)
-
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)
-
copy
public ClusterHeartbeatSenderState copy(HeartbeatNodeRing ring, scala.collection.immutable.Set<UniqueAddress> oldReceiversNowUnreachable, FailureDetectorRegistry<Address> failureDetector)
-
copy$default$1
public HeartbeatNodeRing copy$default$1()
-
copy$default$2
public scala.collection.immutable.Set<UniqueAddress> copy$default$2()
-
copy$default$3
public FailureDetectorRegistry<Address> copy$default$3()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-