ManyVersionVector

final case class ManyVersionVector(versions: TreeMap[UniqueAddress, Long]) extends VersionVector
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any

Type members

Inherited types

Value members

Concrete methods

override def isEmpty: Boolean
Definition Classes
Source:
VersionVector.scala
override def merge(that: VersionVector): VersionVector
override def needPruningFrom(removedNode: UniqueAddress): Boolean
override def prune(removedNode: UniqueAddress, collapseInto: UniqueAddress): VersionVector
override def toString: String
Definition Classes
Any
Source:
VersionVector.scala

Inherited methods

Increment the version for the node passed as argument. Returns a new VersionVector.

Increment the version for the node passed as argument. Returns a new VersionVector.

Inherited from:
VersionVector
Source:
VersionVector.scala
def <(that: VersionVector): Boolean

Returns true if this is before that else false.

Returns true if this is before that else false.

Inherited from:
VersionVector
Source:
VersionVector.scala

Returns true if this and that are concurrent else false.

Returns true if this and that are concurrent else false.

Inherited from:
VersionVector
Source:
VersionVector.scala

Returns true if this VersionVector has the same history as the 'that' VersionVector else false.

Returns true if this VersionVector has the same history as the 'that' VersionVector else false.

Inherited from:
VersionVector
Source:
VersionVector.scala
def >(that: VersionVector): Boolean

Returns true if this is after that else false.

Returns true if this is after that else false.

Inherited from:
VersionVector
Source:
VersionVector.scala

Compare two version vectors. The outcome will be one of the following:

Compare two version vectors. The outcome will be one of the following:

 1. Version 1 is SAME (==)       as Version 2 iff for all i c1(i) == c2(i)
 2. Version 1 is BEFORE (<)      Version 2 iff for all i c1(i) <= c2(i) and there exist a j such that c1(j) < c2(j)
 3. Version 1 is AFTER (>)       Version 2 iff for all i c1(i) >= c2(i) and there exist a j such that c1(j) > c2(j).
 4. Version 1 is CONCURRENT (<>) to Version 2 otherwise.
Inherited from:
VersionVector
Source:
VersionVector.scala

Increment the version for the node passed as argument. Returns a new VersionVector.

Increment the version for the node passed as argument. Returns a new VersionVector.

Inherited from:
VersionVector
Source:
VersionVector.scala
Inherited from:
Product

Deprecated and Inherited methods

@deprecated("Use `:+` that takes a `SelfUniqueAddress` parameter instead.", since = "2.5.20")
def +(node: Cluster): VersionVector
Deprecated
[Since version 2.5.20]
Inherited from:
VersionVector
Source:
VersionVector.scala
@deprecated("Use `increment` that takes a `SelfUniqueAddress` parameter instead.", since = "2.5.20")
Deprecated
[Since version 2.5.20]
Inherited from:
VersionVector
Source:
VersionVector.scala