Queue Buffered Persistent Map
class QueueBufferedPersistentMap<BufferItems, MayKeyType, MapValueType>(config: QueueBufferedPersistentMapConfig<BufferItems, MayKeyType, MapValueType>) : BufferedPersistentMap<BufferItems, MayKeyType, MapValueType>
Content copied to clipboard
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
Link copied to clipboard
fun <BufferItems, MayKeyType, MapValueType> QueueBufferedPersistentMap(config: QueueBufferedPersistentMapConfig<BufferItems, MayKeyType, MapValueType>)
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
open suspend override fun mergeBuffered(increment: PopSize, done: CompletableDeferred<Unit>?)
Content copied to clipboard