QueueBufferedPersistentMap

An implementation of BufferedPersistentMap that uses a queue to buffer items of a certain type, Q, before periodically merging them into the main map, transforming them into a V. The types and how to map them are supplied in the configuration.

Constructors

Functions

Link copied to clipboard
open suspend override fun merge(item: BufferItems)
Link copied to clipboard
open suspend override fun mergeBuffered(increment: PopSize, done: CompletableDeferred<Unit>?)

Properties

Link copied to clipboard
open override val map: PersistentMap<MayKeyType, MapValueType>