merge

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

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.


open override fun merge(records: Collection<Record>, cacheHeaders: CacheHeaders): 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 Record.mergeWith.

Parameters

records

The collection of Records to merge.

cacheHeaders

The CacheHeaders associated with the request which generated this record.