DeltaCRDT

abstract class DeltaCRDT

Base class for delta-based CRDT objects and deltas

Constructors

DeltaCRDT
Link copied to clipboard
common
fun DeltaCRDT()
Default delta constructorCreate an empty CRDT.
DeltaCRDT
Link copied to clipboard
common
fun DeltaCRDT(env: Environment?)
Default CRDT constructorCreate an empty CRDT, associated with the given environment.

Types

Companion
Link copied to clipboard
common
object Companion

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
generateDelta
Link copied to clipboard
common
abstract fun generateDelta(vv: VersionVector): DeltaCRDT
Return a delta from a given version vector vv to current state.
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
merge
Link copied to clipboard
common
abstract fun merge(delta: DeltaCRDT)
Merge a given delta into this DeltaCRDTThe merge is unidirectional: only the local replica is modified.
toJson
Link copied to clipboard
common
abstract fun toJson(): String
Serialize this DeltaCRDT to a JSON string.
toString
Link copied to clipboard
common
open fun toString(): String

Inheritors

BCounter
Link copied to clipboard
LWWMap
Link copied to clipboard
LWWRegister
Link copied to clipboard
MVMap
Link copied to clipboard
MVRegister
Link copied to clipboard
Map
Link copied to clipboard
PNCounter
Link copied to clipboard
RGA
Link copied to clipboard
Ratchet
Link copied to clipboard