Class 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 Detail

      • AlwaysNullMapMergePolicy

        public AlwaysNullMapMergePolicy()
    • Method Detail

      • 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