コード例 #1
0
ファイル: MapService.java プロジェクト: rocio/hazelcast
 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;
 }
コード例 #2
0
 @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;
   }
 }