Class AlwaysNullMapMergePolicy
- java.lang.Object
-
- com.atlassian.confluence.cluster.hazelcast.AlwaysNullMapMergePolicy
-
- All Implemented Interfaces:
com.hazelcast.nio.serialization.DataSerializable
,com.hazelcast.spi.merge.SplitBrainMergePolicy
@Internal public class AlwaysNullMapMergePolicy extends Object implements com.hazelcast.spi.merge.SplitBrainMergePolicy
Merge policy that takes neither entry, emptying out the keys in the merging map
-
-
Constructor Summary
Constructors Constructor Description AlwaysNullMapMergePolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
merge(com.hazelcast.spi.merge.MergingValue mergingValue, com.hazelcast.spi.merge.MergingValue existingValue)
void
readData(com.hazelcast.nio.ObjectDataInput in)
void
writeData(com.hazelcast.nio.ObjectDataOutput out)
-
-
-
Method Detail
-
writeData
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws IOException
- Specified by:
writeData
in interfacecom.hazelcast.nio.serialization.DataSerializable
- Throws:
IOException
-
readData
public void readData(com.hazelcast.nio.ObjectDataInput in) throws IOException
- Specified by:
readData
in interfacecom.hazelcast.nio.serialization.DataSerializable
- Throws:
IOException
-
merge
public Object merge(com.hazelcast.spi.merge.MergingValue mergingValue, com.hazelcast.spi.merge.MergingValue existingValue)
- Specified by:
merge
in interfacecom.hazelcast.spi.merge.SplitBrainMergePolicy
-
-