Beispiel #1
0
 private RecordInfo constructRecordInfo(MapContainer mapContainer, Record record, int extraDelay) {
   final RecordInfo info = new RecordInfo();
   info.setStatistics(record.getStatistics());
   info.setVersion(record.getVersion());
   setDelays(mapContainer, info, record.getKey(), extraDelay);
   return info;
 }
 @Override
 public void run() {
   recordStore.unlock(dataKey, getCallerUuid(), getThreadId());
   Record record = recordStore.getRecord(dataKey);
   if (record == null || version == record.getVersion()) {
     shouldBackup = recordStore.remove(dataKey) != null;
   }
 }