Package akka.cluster.ddata
Class Replicator.Internal$.DeltaPropagation$
- java.lang.Object
-
- akka.cluster.ddata.Replicator.Internal$.DeltaPropagation$
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Replicator.Internal$
public class Replicator.Internal$.DeltaPropagation$ extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Replicator.Internal$.DeltaPropagation$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description DeltaPropagation$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
ReplicatedDelta
NoDeltaPlaceholder()
When a DeltaReplicatedData returnsNone
fromdelta
it must still be treated as a delta that increase the version counter inDeltaPropagationSelector
.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)
-
-
-
Field Detail
-
MODULE$
public static final Replicator.Internal$.DeltaPropagation$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
NoDeltaPlaceholder
public 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 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 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)
-
-