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 Details

    • AlwaysNullMapMergePolicy

      public AlwaysNullMapMergePolicy()
  • Method Details

    • writeData

      public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws IOException
      Specified by:
      writeData in interface com.hazelcast.nio.serialization.DataSerializable
      Throws:
      IOException
    • readData

      public void readData(com.hazelcast.nio.ObjectDataInput in) throws IOException
      Specified by:
      readData in interface com.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 interface com.hazelcast.spi.merge.SplitBrainMergePolicy