@Override public void writeBatch(Map<Object, RecoveredEntry> entries) throws IOException { for (Map.Entry<Object, RecoveredEntry> re: entries.entrySet()) { Object key = re.getKey(); // TODO:KIRK:OK Rusty's code was value =de.getValueWithContext(drv); Object value = re.getValue().getValue(); //if (!Token.isInvalidOrRemoved(value)) { theWriter.snapshotEntry(key, value, re.getValue().getVersionTag(), re.getValue().getLastModifiedTime()); //} } } }));
@Override public void writeBatch(Map<Object, RecoveredEntry> entries) throws IOException { for (Map.Entry<Object, RecoveredEntry> re: entries.entrySet()) { Object key = re.getKey(); // TODO:KIRK:OK Rusty's code was value =de.getValueWithContext(drv); Object value = re.getValue().getValue(); //if (!Token.isInvalidOrRemoved(value)) { theWriter.snapshotEntry(key, value, re.getValue().getVersionTag(), re.getValue().getLastModifiedTime()); //} } } }));
@Override public void writeBatch(Map<Object, RecoveredEntry> entries) throws IOException { for (Map.Entry<Object, RecoveredEntry> re: entries.entrySet()) { Object key = re.getKey(); // TODO:KIRK:OK Rusty's code was value =de.getValueWithContext(drv); Object value = re.getValue().getValue(); //if (!Token.isInvalidOrRemoved(value)) { theWriter.snapshotEntry(key, value, re.getValue().getVersionTag(), re.getValue().getLastModifiedTime()); //} } } }));
newRe.getVersionStamp().setVersions(value.getVersionTag()); long lastModifiedTime = value.getLastModifiedTime(); if (lastModifiedTime != 0) { newRe.setLastModified(lastModifiedTime);
re.getVersionStamp().setVersions(value.getVersionTag()); long lastModifiedTime = value.getLastModifiedTime(); if (lastModifiedTime != 0) { re.setLastModified(lastModifiedTime);