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 Objectmerge(com.hazelcast.spi.merge.MergingValue mergingValue, com.hazelcast.spi.merge.MergingValue existingValue)voidreadData(com.hazelcast.nio.ObjectDataInput in)voidwriteData(com.hazelcast.nio.ObjectDataOutput out)
-
-
-
Method Detail
-
writeData
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws IOException- Specified by:
writeDatain interfacecom.hazelcast.nio.serialization.DataSerializable- Throws:
IOException
-
readData
public void readData(com.hazelcast.nio.ObjectDataInput in) throws IOException- Specified by:
readDatain 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:
mergein interfacecom.hazelcast.spi.merge.SplitBrainMergePolicy
-
-