public void write(final RandomAccessFile raf) throws IOException {
  FileChannelUtility.writeAll(raf.getChannel(),asReadOnlyBuffer(),0L);
  if (log.isInfoEnabled()) {
    log.info("wrote checkpoint record: " + this);
  }
}

public void write ( final RandomAccessFile raf ) throws IOException { FileChannelUtility . writeAll ( raf . getChannel ( ) , asReadOnlyBuffer ( ) , 0L ) ; if ( log . isInfoEnabled ( ) ) { log . info ( "wrote checkpoint record: " + this ) ; } }
write the checkpoint record at the start of the file .
