ReadOnlyNormalizedCache

interface ReadOnlyNormalizedCache

Functions

Link copied to clipboard
abstract fun dump(): Map<@JvmSuppressWildcards KClass<*>, Map<String, Record>>
Link copied to clipboard
abstract fun loadRecord(key: String, cacheHeaders: CacheHeaders): Record?
Link copied to clipboard
abstract fun loadRecords(keys: Collection<String>, cacheHeaders: CacheHeaders): Collection<Record>

Calls through to NormalizedCache.loadRecord. Implementations should override this method if the underlying storage technology can offer an optimized manner to read multiple records. There is no guarantee on the order of returned Record

Inheritors

Link copied to clipboard