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.DeltaPropagationapply(UniqueAddress _fromNode, boolean reply, scala.collection.immutable.Map<java.lang.String,akka.cluster.ddata.Replicator.Internal.Delta> deltas)booleancanEqual(java.lang.Object x$1)akka.cluster.ddata.Replicator.Internal.DeltaPropagationcopy(UniqueAddress _fromNode, boolean reply, scala.collection.immutable.Map<java.lang.String,akka.cluster.ddata.Replicator.Internal.Delta> deltas)UniqueAddresscopy$default$1()booleancopy$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()booleanequals(java.lang.Object x$1)scala.Option<UniqueAddress>fromNode()inthashCode()static ReplicatedDeltaNoDeltaPlaceholder()When a DeltaReplicatedData returnsNonefromdeltait must still be treated as a delta that increase the version counter inDeltaPropagationSelector.intproductArity()java.lang.ObjectproductElement(int x$1)java.lang.StringproductElementName(int x$1)scala.collection.Iterator<java.lang.Object>productIterator()java.lang.StringproductPrefix()booleanreply()java.lang.StringtoString()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 returnsNonefromdeltait 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
Nonedelta. 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:
productPrefixin interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArityin interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElementin interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equalsin interfacescala.Equals- Overrides:
equalsin classjava.lang.Object
-
-