lastAppendDataFile = wb.getDataFile();
lastAppendRaf = lastAppendDataFile.openRandomAccessFile();
}
// perform batch:
Location latest = wb.perform(lastAppendRaf, journal.getReplicationTarget(), journal.isChecksum());
// Adjust journal length and pointers:
journal.addToTotalLength(wb.getSize());
journal.setLastAppendLocation(latest);