RecordStore recordStore = mapServiceContext.getRecordStore(getPartitionId(), mapName);
for (RecordReplicationInfo recordReplicationInfo : recordReplicationInfos) {
Data key = recordReplicationInfo.getKey();
final Data value = recordReplicationInfo.getValue();
final MapContainer mapContainer = mapServiceContext.getMapContainer(mapName);
Record newRecord = mapContainer.createRecord(key, value, -1L, Clock.currentTimeMillis());
applyRecordInfo(newRecord, recordReplicationInfo);
recordStore.putRecord(key, newRecord);
}
recordStore.setLoaded(true);