public final class IgnoreMergingEntryMapMergePolicy extends Object implements MapMergePolicy, IdentifiedDataSerializable
Constructor and Description |
---|
IgnoreMergingEntryMapMergePolicy() |
Modifier and Type | Method and Description |
---|---|
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
int |
getId()
Returns type identifier for this class.
|
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)
Reads fields from the input stream
|
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public Object merge(String mapName, EntryView mergingEntry, EntryView existingEntry)
MapMergePolicy
merge
in interface MapMergePolicy
mapName
- name of the mapmergingEntry
- entry merging into the destination clusterexistingEntry
- existing entry in the destination clusterpublic void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.