com.hazelcast.map.impl.record
Class DataRecordFactory

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

public class DataRecordFactory
extends Object
implements RecordFactory<Data>


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

Constructor Detail

DataRecordFactory

public DataRecordFactory(MapConfig config,
                         SerializationService serializationService,
                         PartitioningStrategy partitionStrategy)
Method Detail

getStorageFormat

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

newRecord

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

setValue

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

isEquals

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


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