Increment the version for the key passed as argument.
Increment the version for the key passed as argument. Returns a new VersionVector.
Increment the version for the key passed as argument.
Increment the version for the key passed as argument. Returns a new VersionVector.
Returns true if this
is before that
else false.
Returns true if this
is before that
else false.
Returns true if this
and that
are concurrent else false.
Returns true if this
and that
are concurrent else false.
Returns true if this VersionVector has the same history as the 'that' VersionVector else false.
Returns true if this
is after that
else false.
Returns true if this
is after that
else false.
Compare two version vectors.
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.
(versionVector: any2stringadd[VersionVector]).+(other)
Representation of a Vector-based clock (counting clock), inspired by Lamport logical clocks.
Based on
akka.cluster.ddata.VersionVector
.This class is immutable, i.e. "modifying" methods return a new instance.