public class VersionAwareMapMergePolicy extends Object implements com.hazelcast.map.merge.MapMergePolicy
| Constructor and Description |
|---|
VersionAwareMapMergePolicy() |
| Modifier and Type | Method and Description |
|---|---|
Object |
merge(String mapName,
EntryView mergingEntry,
EntryView existingEntry)
Returns the value of the entry after the merge
of entries with the same key.
|
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
public Object merge(String mapName, EntryView mergingEntry, EntryView existingEntry)
com.hazelcast.map.merge.MapMergePolicymerge in interface com.hazelcast.map.merge.MapMergePolicymapName - name of the mapmergingEntry - entry merging into the destination clusterexistingEntry - existing entry in the destination clusterpublic void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
writeData in interface DataSerializableIOExceptionpublic void readData(com.hazelcast.nio.ObjectDataInput in)
throws IOException
readData in interface DataSerializableIOExceptionCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.