VersionedMapEvent

sealed interface VersionedMapEvent<out K : Any, out V : Any>(source)

A map mutation carrying the version it was written at, for distribution to consumers that gate on version >. Unlike MapEvent there is no old value and no Populated marker: the stream is delta-only and current values are read from the store.

Inheritors

Types

Link copied to clipboard
class Removed<out K : Any>(val key: K, val version: Long) : VersionedMapEvent<K, Nothing>
Link copied to clipboard
class Upsert<out K : Any, out V : Any>(val key: K, val value: V, val version: Long) : VersionedMapEvent<K, V>

Properties

Link copied to clipboard
abstract val key: K
Link copied to clipboard
abstract val version: Long