public interface ReplicatedMapMergePolicy extends Serializable
|Modifier and Type||Method and Description|
Selects one of the merging and existing map entries to be merged.
Object merge(String mapName, ReplicatedMapEntryView mergingEntry, ReplicatedMapEntryView 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
mapName- name of the replicated map
ReplicatedMapEntryViewinstance that has the map entry to be merged
ReplicatedMapEntryViewinstance that has the existing map entry or
nullif there is no existing map entry
nullif the entry should be removed
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.