OptimisticCache
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun loadRecord(key: String, cacheHeaders: CacheHeaders): Record?
Content copied to clipboard
Link copied to clipboard
open override fun loadRecords(keys: Collection<String>, cacheHeaders: CacheHeaders): Collection<Record>
Content copied to clipboard
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
Link copied to clipboard
open override fun merge(record: Record, cacheHeaders: CacheHeaders): Set<String>
Content copied to clipboard
open override fun merge( record: Record, cacheHeaders: CacheHeaders, recordMerger: RecordMerger): Set<String>
Content copied to clipboard
open override fun merge(records: Collection<Record>, cacheHeaders: CacheHeaders): Set<String>
Content copied to clipboard
open override fun merge( records: Collection<Record>, cacheHeaders: CacheHeaders, recordMerger: RecordMerger): Set<String>
Content copied to clipboard
Calls through to NormalizedCache.merge. Implementations should override this method if the underlying storage technology can offer an optimized manner to store multiple records.
Link copied to clipboard
Remove records whose key matches a given pattern from this cache and all chained caches
Remove a record and potentially its referenced records from this cache and all chained caches
Link copied to clipboard