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