Package org.apache.pekko.cluster.ddata
Class Replicator.Internal$.DataEnvelope
java.lang.Object
org.apache.pekko.cluster.ddata.Replicator.Internal$.DataEnvelope
- All Implemented Interfaces:
Serializable,Replicator.ReplicatorMessage,scala.Equals,scala.Product
- Enclosing class:
- Replicator.Internal$
public final class Replicator.Internal$.DataEnvelope
extends Object
implements Replicator.ReplicatorMessage, scala.Product, Serializable
The
DataEnvelope wraps a data entry and carries state of the pruning process for the entry.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDataEnvelope(ReplicatedData data, scala.collection.immutable.Map<UniqueAddress, PruningState> pruning, VersionVector deltaVersions) -
Method Summary
Modifier and TypeMethodDescriptionstatic scala.collection.immutable.Map<UniqueAddress,PruningState> static VersionVectororg.apache.pekko.cluster.ddata.Replicator.Internal.DataEnvelopestatic org.apache.pekko.cluster.ddata.Replicator.Internal.DataEnvelopeapply(ReplicatedData data, scala.collection.immutable.Map<UniqueAddress, PruningState> pruning, VersionVector deltaVersions) static scala.collection.immutable.Map<UniqueAddress,PruningState> static VersionVectorbooleanorg.apache.pekko.cluster.ddata.Replicator.Internal.DataEnvelopecopy(ReplicatedData data, scala.collection.immutable.Map<UniqueAddress, PruningState> pruning, VersionVector deltaVersions) scala.collection.immutable.Map<UniqueAddress,PruningState> data()booleanintinthashCode()org.apache.pekko.cluster.ddata.Replicator.Internal.DataEnvelopeinitRemovedNodePruning(UniqueAddress removed, UniqueAddress owner) org.apache.pekko.cluster.ddata.Replicator.Internal.DataEnvelopemerge(ReplicatedData otherData) org.apache.pekko.cluster.ddata.Replicator.Internal.DataEnvelopemerge(org.apache.pekko.cluster.ddata.Replicator.Internal.DataEnvelope other) booleanneedPruningFrom(UniqueAddress removedNode) intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>org.apache.pekko.cluster.ddata.Replicator.Internal.DataEnvelopeprune(UniqueAddress from, PruningState.PruningPerformed pruningPerformed) scala.collection.immutable.Map<UniqueAddress,PruningState> pruning()toString()static scala.Option<scala.Tuple3<ReplicatedData,scala.collection.immutable.Map<UniqueAddress, PruningState>, VersionVector>> unapply(org.apache.pekko.cluster.ddata.Replicator.Internal.DataEnvelope x$0) org.apache.pekko.cluster.ddata.Replicator.Internal.DataEnvelopeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
DataEnvelope
public DataEnvelope(ReplicatedData data, scala.collection.immutable.Map<UniqueAddress, PruningState> pruning, VersionVector deltaVersions)
-
-
Method Details
-
$lessinit$greater$default$2
public static scala.collection.immutable.Map<UniqueAddress,PruningState> $lessinit$greater$default$2() -
$lessinit$greater$default$3
-
apply
public static org.apache.pekko.cluster.ddata.Replicator.Internal.DataEnvelope apply(ReplicatedData data, scala.collection.immutable.Map<UniqueAddress, PruningState> pruning, VersionVector deltaVersions) -
apply$default$2
-
apply$default$3
-
unapply
public static scala.Option<scala.Tuple3<ReplicatedData,scala.collection.immutable.Map<UniqueAddress, unapplyPruningState>, VersionVector>> (org.apache.pekko.cluster.ddata.Replicator.Internal.DataEnvelope x$0) -
data
-
pruning
-
deltaVersions
-
withoutDeltaVersions
public org.apache.pekko.cluster.ddata.Replicator.Internal.DataEnvelope withoutDeltaVersions() -
needPruningFrom
-
initRemovedNodePruning
public org.apache.pekko.cluster.ddata.Replicator.Internal.DataEnvelope initRemovedNodePruning(UniqueAddress removed, UniqueAddress owner) -
prune
public org.apache.pekko.cluster.ddata.Replicator.Internal.DataEnvelope prune(UniqueAddress from, PruningState.PruningPerformed pruningPerformed) -
merge
public org.apache.pekko.cluster.ddata.Replicator.Internal.DataEnvelope merge(org.apache.pekko.cluster.ddata.Replicator.Internal.DataEnvelope other) -
merge
public org.apache.pekko.cluster.ddata.Replicator.Internal.DataEnvelope merge(ReplicatedData otherData) -
addSeen
-
estimatedSizeWithoutData
public int estimatedSizeWithoutData() -
copy
public org.apache.pekko.cluster.ddata.Replicator.Internal.DataEnvelope copy(ReplicatedData data, scala.collection.immutable.Map<UniqueAddress, PruningState> pruning, VersionVector deltaVersions) -
copy$default$1
-
copy$default$2
-
copy$default$3
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-