com.hazelcast.map.impl.record
Class ObjectRecordFactory

java.lang.Object
  extended by com.hazelcast.map.impl.record.ObjectRecordFactory
All Implemented Interfaces:
RecordFactory<Object>

public class ObjectRecordFactory
extends Object
implements RecordFactory<Object>


Constructor Summary
ObjectRecordFactory(MapConfig config, SerializationService serializationService)
           
 
Method Summary
 InMemoryFormat getStorageFormat()
           
 boolean isEquals(Object value1, Object value2)
           
 Record<Object> newRecord(Data key, Object value)
           
 void setValue(Record<Object> record, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectRecordFactory

public ObjectRecordFactory(MapConfig config,
                           SerializationService serializationService)
Method Detail

getStorageFormat

public InMemoryFormat getStorageFormat()
Specified by:
getStorageFormat in interface RecordFactory<Object>

newRecord

public Record<Object> newRecord(Data key,
                                Object value)
Specified by:
newRecord in interface RecordFactory<Object>

setValue

public void setValue(Record<Object> record,
                     Object value)
Specified by:
setValue in interface RecordFactory<Object>

isEquals

public boolean isEquals(Object value1,
                        Object value2)
Specified by:
isEquals in interface RecordFactory<Object>


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