akka.cluster
Class GossipEnvelope
java.lang.Object
akka.cluster.GossipEnvelope
- All Implemented Interfaces:
- ClusterMessage, java.io.Serializable
public class GossipEnvelope
- extends java.lang.Object
- implements ClusterMessage
INTERNAL API
Envelope adding a sender and receiver address to the gossip.
The reason for including the receiver address is to be able to
ignore messages that were intended for a previous incarnation of
the node with same host:port. The uid
in the UniqueAddress
is
different in that case.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
apply
public static GossipEnvelope apply(UniqueAddress from,
UniqueAddress to,
Gossip gossip)
apply
public static GossipEnvelope apply(UniqueAddress from,
UniqueAddress to,
scala.concurrent.duration.Deadline serDeadline,
scala.Function0<Gossip> ser)
from
public UniqueAddress from()
to
public UniqueAddress to()
g
public Gossip g()
ser
public scala.Function0<Gossip> ser()
gossip
public Gossip gossip()