in activeio-core/src/main/java/org/apache/activeio/journal/active/Record.java [141:155]
public void readFooter( DataInput in ) throws IOException {
long l = in.readLong();
if( isChecksumingEnabled() ) {
if( l!=checksum )
throw new IOException("Invalid record footer: checksum does not match.");
} else {
checksum = l;
}
Location loc = Location.readFromDataInput(in);
if( !loc.equals(location) )
throw new IOException("Invalid record footer: location id does not match.");
readAndCheckConstant(in, END_OF_RECORD, "Invalid record header: end of record constant missing.");
}