merge

open override fun merge(record: Record, cacheHeaders: CacheHeaders, recordMerger: RecordMerger): Set<String>

Return

A set of record field keys that have changed. This set is returned by RecordMerger.merge.

Parameters

record

The Record to merge.

cacheHeaders

The CacheHeaders associated with the request which generated this record.

recordMerger

The RecordMerger to use when merging the record.


open override fun merge(records: Collection<Record>, cacheHeaders: CacheHeaders, recordMerger: RecordMerger): Set<String>

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 RecordMerger.merge.

Parameters

records

The collection of Records to merge.

cacheHeaders

The CacheHeaders associated with the request which generated this record.

recordMerger

The RecordMerger to use when merging the records.