merge
abstract fun merge(record: Record, cacheHeaders: CacheHeaders): Set<String>
Content copied to clipboard
Return
A set of record field keys that have changed. This set is returned by Record.mergeWith.
Parameters
record
The Record to merge.
cacheHeaders
The CacheHeaders associated with the request which generated this record.
abstract fun merge(records: Collection<Record>, cacheHeaders: CacheHeaders): 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.
Return
A set of record field keys that have changed. This set is returned by Record.mergeWith.
Parameters
records
The collection of Records to merge.
cacheHeaders
The CacheHeaders associated with the request which generated this record.