if (!channel.isOpen())
{
channel.open(1, false);
}
channel.writeDirect(ByteBuffer.wrap(data), true);
}
/**
* Reserves files (with the given fileID) in the specified journal, and places a
* {@link FileWrapperJournal} in place to store messages while synchronization is going on.