IdGenerator idGenerator = new JumpingIdGeneratorFactory( 10 ).get( IdType.NODE );
JumpingFileChannel channel = (JumpingFileChannel) offsettedFileSystem.open( fileName, "rw" );
for ( int i = 0; i < 16; i++ )
{
writeSomethingLikeNodeRecord( channel, idGenerator.nextId(), i );
}
channel.close();
channel = (JumpingFileChannel) offsettedFileSystem.open( fileName, "rw" );
idGenerator = new JumpingIdGeneratorFactory( 10 ).get( IdType.NODE );