All Implemented Interfaces:
LatestUpdateMapMergePolicy causes the merging entry to be merged from source to destination map
if source entry has updated more recently than the destination entry.
This policy can only be used of the clocks of the machines are in sync.
Methods inherited from class java.lang.
Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Object merge( String mapName,
Returns the value of the entry after the merge
of entries with the same key.
You should consider the case where existingEntry's value is null.
merge MapMergePolicy Parameters:
mapName - name of the map
mergingEntry - entry merging into the destination cluster
existingEntry - existing entry in the destination cluster
Returns: final value of the entry. If returns null, then the entry will be removed.
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.