com.hazelcast.hibernate
Class VersionAwareMapMergePolicy

java.lang.Object
  extended by com.hazelcast.hibernate.VersionAwareMapMergePolicy
All Implemented Interfaces:
com.hazelcast.map.merge.MapMergePolicy, DataSerializable

public class VersionAwareMapMergePolicy
extends Object
implements com.hazelcast.map.merge.MapMergePolicy


Constructor Summary
VersionAwareMapMergePolicy()
           
 
Method Summary
 Object merge(String mapName, EntryView mergingEntry, EntryView existingEntry)
           
 void readData(com.hazelcast.nio.ObjectDataInput in)
           
 void writeData(com.hazelcast.nio.ObjectDataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionAwareMapMergePolicy

public VersionAwareMapMergePolicy()
Method Detail

merge

public Object merge(String mapName,
                    EntryView mergingEntry,
                    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 DataSerializable
Throws:
IOException

readData

public void readData(com.hazelcast.nio.ObjectDataInput in)
              throws IOException
Specified by:
readData in interface DataSerializable
Throws:
IOException


Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.