public class PutIfAbsentMapMergePolicy extends Object implements ReplicatedMapMergePolicy
Constructor and Description |
---|
PutIfAbsentMapMergePolicy() |
Modifier and Type | Method and Description |
---|---|
Object |
merge(String mapName,
ReplicatedMapEntryView mergingEntry,
ReplicatedMapEntryView existingEntry)
Returns the value of the entry after the merge
of entries with the same key.
|
public Object merge(String mapName, ReplicatedMapEntryView mergingEntry, ReplicatedMapEntryView existingEntry)
ReplicatedMapMergePolicy
merge
in interface ReplicatedMapMergePolicy
mapName
- name of the replicated mapmergingEntry
- entry merging into the destination clusterexistingEntry
- existing entry in the destination clusterCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.