kofre.datatypes.alternatives

Members list

Concise view

Type members

Classlikes

case class MultiValueRegister[T](versions: Map[VectorClock, T])

Keeps all concurrent writes

Keeps all concurrent writes

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class ObserveRemoveSet[A](entries: Map[Uid, A], tombstones: Set[Uid])

Implementation of an Observed-Remove Set similar to the one described by Shapiro et al. (2011)

Implementation of an Observed-Remove Set similar to the one described by Shapiro et al. (2011)

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class ResettableCounter(inner: DotFun[(Int, Int)])

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

An ResettableCounter (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

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type