Class AlwaysNullMapMergePolicy

  • All Implemented Interfaces:
    com.hazelcast.map.merge.MapMergePolicy, com.hazelcast.nio.serialization.DataSerializable

    @Internal
    public class AlwaysNullMapMergePolicy
    extends Object
    implements com.hazelcast.map.merge.MapMergePolicy
    Merge policy that takes neither entry, emptying out the keys in the merging map
    • Constructor Detail

      • AlwaysNullMapMergePolicy

        public AlwaysNullMapMergePolicy()
    • Method Detail

      • merge

        public Object merge​(String mapName,
                            com.hazelcast.core.EntryView mergingEntry,
                            com.hazelcast.core.EntryView existingEntry)
        Specified by:
        merge in interface com.hazelcast.map.merge.MapMergePolicy
      • 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