ReadOnlyNormalizedCache

Functions

Link copied to clipboard
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