Package akka.cluster
Class GossipEnvelope
- java.lang.Object
-
- akka.cluster.GossipEnvelope
-
- All Implemented Interfaces:
ClusterMessage
,java.io.Serializable
,scala.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. Theuid
in theUniqueAddress
is different in that case.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GossipEnvelope()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GossipEnvelope
apply(UniqueAddress from, UniqueAddress to, Gossip gossip)
static GossipEnvelope
apply(UniqueAddress from, UniqueAddress to, scala.concurrent.duration.Deadline serDeadline, scala.Function0<Gossip> ser)
UniqueAddress
from()
Gossip
g()
void
g_$eq(Gossip x$1)
Gossip
gossip()
scala.Function0<Gossip>
ser()
void
ser_$eq(scala.Function0<Gossip> x$1)
UniqueAddress
to()
-
-
-
Method Detail
-
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()
-
g_$eq
public void g_$eq(Gossip x$1)
-
ser
public scala.Function0<Gossip> ser()
-
ser_$eq
public void ser_$eq(scala.Function0<Gossip> x$1)
-
gossip
public Gossip gossip()
-
-