YsonDedupCounter

data class YsonDedupCounter(val value: YsonValue, val registers: String) : YsonValue

YsonDedupCounter represents a DedupCounter CRDT that counts unique actors via HyperLogLog, serialized as DedupCounter(Int(...),"base64").

value is constrained at construction to be a YsonInt (dedup counters are always Int-valued); registers is the Base64-encoded HLL register state.

Constructors

Link copied to clipboard
constructor(value: YsonValue, registers: String)

Properties

Link copied to clipboard
Link copied to clipboard