public LogFileManager(byte fileManagerId, LongSequenceGenerator sequenceGenerator, LogFile logFile) {
this.fileManagerId = fileManagerId;
this.sequenceGenerator = sequenceGenerator;
this.file = logFile;
this.byteBufferPool = new ByteBufferPool();
this.executor = new QueuedExecutor();
this.executor.setThreadFactory(new ThreadFactory(){
public Thread newThread(Runnable runnable) {
Thread answer = new Thread(runnable, "Journal Writter");
answer.setPriority(Thread.MAX_PRIORITY);
answer.setDaemon(true);