Package akka.cluster.ddata
Class ManyVersionVector
- java.lang.Object
- 
- akka.cluster.ddata.VersionVector
- 
- akka.cluster.ddata.ManyVersionVector
 
 
- 
- All Implemented Interfaces:
- RemovedNodePruning,- ReplicatedData,- ReplicatedDataSerialization,- java.io.Serializable,- scala.Equals,- scala.Product
 
 public final class ManyVersionVector extends VersionVector implements scala.Product, java.io.Serializable - See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class akka.cluster.ddata.VersionVectorVersionVector.After$, VersionVector.Before$, VersionVector.Concurrent$, VersionVector.Ordering, VersionVector.Same$, VersionVector.Timestamp$
 
- 
 - 
Constructor SummaryConstructors Constructor Description ManyVersionVector(scala.collection.immutable.TreeMap<UniqueAddress,java.lang.Object> versions)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManyVersionVectorapply(scala.collection.immutable.TreeMap<UniqueAddress,java.lang.Object> versions)booleancanEqual(java.lang.Object x$1)ManyVersionVectorcopy(scala.collection.immutable.TreeMap<UniqueAddress,java.lang.Object> versions)scala.collection.immutable.TreeMap<UniqueAddress,java.lang.Object>copy$default$1()booleanequals(java.lang.Object x$1)inthashCode()booleanisEmpty()VersionVectormerge(VersionVector that)Merges this VersionVector with another VersionVector.scala.collection.immutable.Set<UniqueAddress>modifiedByNodes()The nodes that have changed the state for this data and would need pruning when such node is no longer part of the cluster.booleanneedPruningFrom(UniqueAddress removedNode)Does it have any state changes from a specific node, which has been removed from the cluster.intproductArity()java.lang.ObjectproductElement(int x$1)java.lang.StringproductElementName(int x$1)scala.collection.Iterator<java.lang.Object>productIterator()java.lang.StringproductPrefix()VersionVectorprune(UniqueAddress removedNode, UniqueAddress collapseInto)When theremovednode has been removed from the cluster the state changes from that node will be pruned by collapsing the data entries to another node.VersionVectorpruningCleanup(UniqueAddress removedNode)Remove data entries from a node that has been removed from the cluster and already been pruned.java.lang.StringtoString()static scala.Option<scala.collection.immutable.TreeMap<UniqueAddress,java.lang.Object>>unapply(ManyVersionVector x$0)scala.collection.immutable.TreeMap<UniqueAddress,java.lang.Object>versions()- 
Methods inherited from class akka.cluster.ddata.VersionVector$colon$plus, $eq$eq, $greater, $less, $less$greater, AfterInstance, apply, apply, BeforeInstance, compareTo, ConcurrentInstance, create, empty, increment, SameInstance
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface akka.cluster.ddata.ReplicatedDatamerge
 
- 
 
- 
- 
- 
Constructor Detail- 
ManyVersionVectorpublic ManyVersionVector(scala.collection.immutable.TreeMap<UniqueAddress,java.lang.Object> versions) 
 
- 
 - 
Method Detail- 
applypublic static ManyVersionVector apply(scala.collection.immutable.TreeMap<UniqueAddress,java.lang.Object> versions) 
 - 
unapplypublic static scala.Option<scala.collection.immutable.TreeMap<UniqueAddress,java.lang.Object>> unapply(ManyVersionVector x$0) 
 - 
versionspublic scala.collection.immutable.TreeMap<UniqueAddress,java.lang.Object> versions() 
 - 
isEmptypublic boolean isEmpty() - Specified by:
- isEmptyin class- VersionVector
 
 - 
mergepublic VersionVector merge(VersionVector that) Description copied from class:VersionVectorMerges this VersionVector with another VersionVector. E.g. merges its versioned history.- Specified by:
- mergein class- VersionVector
 
 - 
modifiedByNodespublic scala.collection.immutable.Set<UniqueAddress> modifiedByNodes() Description copied from interface:RemovedNodePruningThe nodes that have changed the state for this data and would need pruning when such node is no longer part of the cluster.- Specified by:
- modifiedByNodesin interface- RemovedNodePruning
 
 - 
needPruningFrompublic boolean needPruningFrom(UniqueAddress removedNode) Description copied from interface:RemovedNodePruningDoes it have any state changes from a specific node, which has been removed from the cluster.- Specified by:
- needPruningFromin interface- RemovedNodePruning
- Specified by:
- needPruningFromin class- VersionVector
 
 - 
prunepublic VersionVector prune(UniqueAddress removedNode, UniqueAddress collapseInto) Description copied from interface:RemovedNodePruningWhen theremovednode has been removed from the cluster the state changes from that node will be pruned by collapsing the data entries to another node.- Specified by:
- prunein interface- RemovedNodePruning
- Specified by:
- prunein class- VersionVector
 
 - 
pruningCleanuppublic VersionVector pruningCleanup(UniqueAddress removedNode) Description copied from interface:RemovedNodePruningRemove data entries from a node that has been removed from the cluster and already been pruned.- Specified by:
- pruningCleanupin interface- RemovedNodePruning
- Specified by:
- pruningCleanupin class- VersionVector
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
copypublic ManyVersionVector copy(scala.collection.immutable.TreeMap<UniqueAddress,java.lang.Object> versions) 
 - 
copy$default$1public scala.collection.immutable.TreeMap<UniqueAddress,java.lang.Object> copy$default$1() 
 - 
productPrefixpublic java.lang.String productPrefix() - Specified by:
- productPrefixin interface- scala.Product
 
 - 
productAritypublic int productArity() - Specified by:
- productArityin interface- scala.Product
 
 - 
productElementpublic java.lang.Object productElement(int x$1) - Specified by:
- productElementin interface- scala.Product
 
 - 
productIteratorpublic scala.collection.Iterator<java.lang.Object> productIterator() - Specified by:
- productIteratorin interface- scala.Product
 
 - 
canEqualpublic boolean canEqual(java.lang.Object x$1) - Specified by:
- canEqualin interface- scala.Equals
 
 - 
productElementNamepublic java.lang.String productElementName(int x$1) - Specified by:
- productElementNamein interface- scala.Product
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object x$1) - Specified by:
- equalsin interface- scala.Equals
- Overrides:
- equalsin class- java.lang.Object
 
 
- 
 
-