com.hazelcast.map.impl.record
Class NativeRecordFactory

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

public class NativeRecordFactory
extends Object
implements RecordFactory<Data>


Constructor Summary
NativeRecordFactory(MapConfig config, Storage<DataRef> storage, 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

NativeRecordFactory

public NativeRecordFactory(MapConfig config,
                           Storage<DataRef> storage,
                           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.