@Override
void markCheckpoint(long currentPosition, long logWriteOrderID)
throws IOException {
RandomAccessFile writeFileHandle = getFileHandle();
writeFileHandle.seek(OFFSET_CHECKPOINT);
writeFileHandle.writeLong(currentPosition);
writeFileHandle.writeLong(logWriteOrderID);
writeFileHandle.getChannel().force(true);
LOGGER.info("Noted checkpoint for file: " + getFile() + ", id: "
+ getLogFileID() + ", checkpoint position: " + currentPosition