RCounterInterface

kofre.decompose.interfaces.RCounterInterface$

An RCounter (Resettable Counter/Add Wins Counter) is a Delta CRDT modeling a counter.

Calling fresh after every time that deltas are shipped to other replicas prevents subsequent increment/decrement operations to be overwritten by concurrent reset operations.

This counter was originally proposed by Baquera et al. in "The problem with embedded CRDT counters and a solution", see here

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

implicit class RCounterSyntax[C](container: C) extends OpsSyntaxHelper[C, RCounter]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Types

type RCounter = DotFun[(Int, Int)]

Value members

Concrete fields

Implicits

Implicits

implicit def IntPairAsUIJDLattice: DecomposeLattice[(Int, Int)]
final implicit def RCounterSyntax[C](container: C): RCounterSyntax[C]