this(new LogFileManager(logDirectory, logFileCount, logFileSize));
}
public JournalImpl(LogFileManager logFile) {
this.file = logFile;
this.packetPool = new ByteBufferPacketPool(DEFAULT_POOL_SIZE, DEFAULT_PACKET_SIZE);
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);