public interface MapMergePolicy extends DataSerializable
Modifier and Type | Method and Description |
---|---|
Object |
merge(String mapName,
EntryView mergingEntry,
EntryView existingEntry)
Selects one of the merging and existing map entries to be merged.
|
readData, writeData
Object merge(String mapName, EntryView mergingEntry, EntryView existingEntry)
Note that the existingEntry
may be null
if there
is no entry with the same key in the destination map.
This happens, when the entry for that key was
Copyright © 2018 Hazelcast, Inc.. All rights reserved.