public class HigherHitsMapMergePolicy extends Object implements MapMergePolicy, DataSerializable
| Constructor and Description |
|---|
HigherHitsMapMergePolicy() |
| 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(ObjectDataInput in) |
void |
writeData(ObjectDataOutput out) |
public Object merge(String mapName, EntryView mergingEntry, EntryView existingEntry)
MapMergePolicymerge in interface MapMergePolicymapName - name of the mapmergingEntry - entry merging into the destination clusterexistingEntry - existing entry in the destination clusterpublic void writeData(ObjectDataOutput out) throws IOException
writeData in interface DataSerializableIOExceptionpublic void readData(ObjectDataInput in) throws IOException
readData in interface DataSerializableIOExceptionCopyright © 2021 Hazelcast, Inc.. All rights reserved.