Package akka.cluster.ddata
Class Replicator.Internal$.DeltaPropagation
- java.lang.Object
-
- akka.cluster.ddata.Replicator.Internal$.DeltaPropagation
-
- All Implemented Interfaces:
Replicator.ReplicatorMessage
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- Replicator.Internal$
public final class Replicator.Internal$.DeltaPropagation extends java.lang.Object implements Replicator.ReplicatorMessage, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeltaPropagation(UniqueAddress _fromNode, boolean reply, scala.collection.immutable.Map<java.lang.String,akka.cluster.ddata.Replicator.Internal.Delta> deltas)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UniqueAddress
_fromNode()
static akka.cluster.ddata.Replicator.Internal.DeltaPropagation
apply(UniqueAddress _fromNode, boolean reply, scala.collection.immutable.Map<java.lang.String,akka.cluster.ddata.Replicator.Internal.Delta> deltas)
boolean
canEqual(java.lang.Object x$1)
akka.cluster.ddata.Replicator.Internal.DeltaPropagation
copy(UniqueAddress _fromNode, boolean reply, scala.collection.immutable.Map<java.lang.String,akka.cluster.ddata.Replicator.Internal.Delta> deltas)
UniqueAddress
copy$default$1()
boolean
copy$default$2()
scala.collection.immutable.Map<java.lang.String,akka.cluster.ddata.Replicator.Internal.Delta>
copy$default$3()
scala.collection.immutable.Map<java.lang.String,akka.cluster.ddata.Replicator.Internal.Delta>
deltas()
boolean
equals(java.lang.Object x$1)
scala.Option<UniqueAddress>
fromNode()
int
hashCode()
static ReplicatedDelta
NoDeltaPlaceholder()
When a DeltaReplicatedData returnsNone
fromdelta
it must still be treated as a delta that increase the version counter inDeltaPropagationSelector
.int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
boolean
reply()
java.lang.String
toString()
static scala.Option<scala.Tuple3<UniqueAddress,java.lang.Object,scala.collection.immutable.Map<java.lang.String,akka.cluster.ddata.Replicator.Internal.Delta>>>
unapply(akka.cluster.ddata.Replicator.Internal.DeltaPropagation x$0)
-
-
-
Constructor Detail
-
DeltaPropagation
public DeltaPropagation(UniqueAddress _fromNode, boolean reply, scala.collection.immutable.Map<java.lang.String,akka.cluster.ddata.Replicator.Internal.Delta> deltas)
-
-
Method Detail
-
NoDeltaPlaceholder
public static ReplicatedDelta NoDeltaPlaceholder()
When a DeltaReplicatedData returnsNone
fromdelta
it must still be treated as a delta that increase the version counter inDeltaPropagationSelector
. Otherwise a later delta might be applied before the full state gossip is received and thereby violatingRequiresCausalDeliveryOfDeltas
.This is used as a placeholder for such
None
delta. It's filtered out increateDeltaPropagation
, i.e. never sent to the other replicas.
-
apply
public static akka.cluster.ddata.Replicator.Internal.DeltaPropagation apply(UniqueAddress _fromNode, boolean reply, scala.collection.immutable.Map<java.lang.String,akka.cluster.ddata.Replicator.Internal.Delta> deltas)
-
unapply
public static scala.Option<scala.Tuple3<UniqueAddress,java.lang.Object,scala.collection.immutable.Map<java.lang.String,akka.cluster.ddata.Replicator.Internal.Delta>>> unapply(akka.cluster.ddata.Replicator.Internal.DeltaPropagation x$0)
-
_fromNode
public UniqueAddress _fromNode()
-
reply
public boolean reply()
-
deltas
public scala.collection.immutable.Map<java.lang.String,akka.cluster.ddata.Replicator.Internal.Delta> deltas()
-
fromNode
public scala.Option<UniqueAddress> fromNode()
-
copy
public akka.cluster.ddata.Replicator.Internal.DeltaPropagation copy(UniqueAddress _fromNode, boolean reply, scala.collection.immutable.Map<java.lang.String,akka.cluster.ddata.Replicator.Internal.Delta> deltas)
-
copy$default$1
public UniqueAddress copy$default$1()
-
copy$default$2
public boolean copy$default$2()
-
copy$default$3
public scala.collection.immutable.Map<java.lang.String,akka.cluster.ddata.Replicator.Internal.Delta> 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
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
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
-
-