ObjectStoreCache

class ObjectStoreCache @JvmOverloads constructor(val keyValueStore: IKeyValueStore, val config: CacheConfiguration = CacheConfiguration()) : IDeserializingKeyValueStore

Constructors

Link copied to clipboard
constructor(keyValueStore: IKeyValueStore, config: CacheConfiguration = CacheConfiguration())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override val keyValueStore: IKeyValueStore

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun <T> get(hash: String, deserializer: (String) -> T): T?
Link copied to clipboard
open override fun <T> getAll(hashes_: Iterable<String>, deserializer: (String, String) -> T): Iterable<T>
open override fun <T : IKVValue> getAll(regular: List<IKVEntryReference<T>>, prefetch: List<IKVEntryReference<T>>): Map<String, T?>
Link copied to clipboard
open override fun <T> getIfCached(hash: String, deserializer: (String) -> T, isPrefetch: Boolean): T?
Link copied to clipboard
Link copied to clipboard
open override fun prefetch(hash: String)
Link copied to clipboard
open override fun put(hash: String, deserialized: Any, serialized: String)