Class ManyVersionVector

    • Constructor Detail

      • ManyVersionVector

        public ManyVersionVector​(scala.collection.immutable.TreeMap<UniqueAddress,​java.lang.Object> versions)
    • Method Detail

      • $less$greater

        public static boolean $less$greater​(VersionVector that)
      • $greater

        public static boolean $greater​(VersionVector that)
      • versions

        public scala.collection.immutable.TreeMap<UniqueAddress,​java.lang.Object> versions()
      • size

        public int size()
        INTERNAL API
        Specified by:
        size in class VersionVector
        Returns:
        (undocumented)
      • versionAt

        public long versionAt​(UniqueAddress node)
        INTERNAL API
        Specified by:
        versionAt in class VersionVector
        Parameters:
        node - (undocumented)
        Returns:
        (undocumented)
      • contains

        public boolean contains​(UniqueAddress node)
        INTERNAL API
        Specified by:
        contains in class VersionVector
        Parameters:
        node - (undocumented)
        Returns:
        (undocumented)
      • versionsIterator

        public scala.collection.Iterator<scala.Tuple2<UniqueAddress,​java.lang.Object>> versionsIterator()
        INTERNAL API
        Specified by:
        versionsIterator in class VersionVector
        Returns:
        (undocumented)
      • merge

        public VersionVector merge​(VersionVector that)
        Description copied from class: VersionVector
        Merges this VersionVector with another VersionVector. E.g. merges its versioned history.
        Specified by:
        merge in class VersionVector
        Parameters:
        that - (undocumented)
        Returns:
        (undocumented)
      • prune

        public VersionVector prune​(UniqueAddress removedNode,
                                   UniqueAddress collapseInto)
        Description copied from interface: RemovedNodePruning
        When the removed node 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:
        prune in interface RemovedNodePruning
        Specified by:
        prune in class VersionVector
        Parameters:
        removedNode - (undocumented)
        collapseInto - (undocumented)
        Returns:
        (undocumented)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • copy$default$1

        public scala.collection.immutable.TreeMap<UniqueAddress,​java.lang.Object> copy$default$1()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        Overrides:
        equals in class java.lang.Object