AntiEntropyCRDT

kofre.decompose.containers.AntiEntropyCRDT
See theAntiEntropyCRDT companion object
class AntiEntropyCRDT[State](val antiEntropy: AntiEntropy[State]) extends CRDTInterface[State, AntiEntropyCRDT[State]]

BasicCRDTs are Delta CRDTs that use JsoniterAntiEntropy and Network as Middleware for exchanging deltas between replicas. They cannot actually be used on multiple connected replicas, but are useful for locally testing the behavior of Delta CRDTs.

Generated deltas are automatically propagated to the registered JsoniterAntiEntropy instance, but to apply deltas received by the AntiEntropy instance you need to explicitly call processReceivedDeltas on the CRDT.

Attributes

Companion:
object
Graph
Supertypes
trait CRDTInterface[State, AntiEntropyCRDT[State]]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def applyDelta(delta: DottedName[State])(using DecomposeLattice[Dotted[State]]): AntiEntropyCRDT[State]

Attributes

Definition Classes
override def state: Dotted[State]

Attributes

Definition Classes

Concrete fields

override val replicaID: String