Package ai.whylabs.services.whylogs.persistent.map

Types

Link copied to clipboard
class InMemoryMapWriteLayer<K, V> : MapWriteLayer<K, V>
Link copied to clipboard
data class MapMessageHandlerOptions<K, V>(val writeLayer: MapWriteLayer<K, V>, val retryPolicy: RetryPolicy<Throwable>? = defaultRetryPolicy) : RetryOptions
Link copied to clipboard
interface MapWriteLayer<K, V>

Acts as the kernel for actually persisting/storing items in a PersistentMap. Many of these are not exposed through PersistentMap but they're required to make certain guarantees in the apis that are exposed.

Link copied to clipboard
class PersistentMap<K, V>(options: MapMessageHandlerOptions<K, V>)

A map-like utility that immediately persists all of its contents to disk.

Link copied to clipboard
class SqliteMapWriteLayer<K, V>(    name: String,     keySerializer: Serializer<K>,     valueSerializer: Serializer<V>) : SqliteManager, MapWriteLayer<K, V>

Implementation of MapWriteLayer that uses sqlite as the storage layer.