GenericLastWriterWinsLattice
rdts.datatypes.LastWriterWins.GenericLastWriterWinsLattice
class GenericLastWriterWinsLattice[A](conflict: Lattice[A]) extends Lattice[LastWriterWins[A]]
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
By assumption: associative, commutative, idempotent.
By assumption: associative, commutative, idempotent.
Implementation note: If it matters, assume that left is the current state and right is an added delta. All code should assume that left is the larger state (and optimize for this). If left == right, prefer to return left.
Attributes
- Definition Classes
Lattice order is derived from merge. Overriding implementations must make sure that they compute exactly the same results as the equation below.
Lattice order is derived from merge. Overriding implementations must make sure that they compute exactly the same results as the equation below.
Attributes
- Definition Classes
Extensions
Inherited extensions
extension (left: LastWriterWins[A])
Convenience extensions for the above.
Convenience extensions for the above.
Merging right into left has no effect
In this article