boolean success = false;
stats = new StatGroup(LogStatDefinition.FILEMGR_GROUP_NAME,
LogStatDefinition.FILEMGR_GROUP_DESC);
nRandomReads = new LongStat(stats, FILEMGR_RANDOM_READS);
nRandomWrites = new LongStat(stats, FILEMGR_RANDOM_WRITES);
nSequentialReads = new LongStat(stats, FILEMGR_SEQUENTIAL_READS);
nSequentialWrites = new LongStat(stats, FILEMGR_SEQUENTIAL_WRITES);
nRandomReadBytes = new LongStat(stats, FILEMGR_RANDOM_READ_BYTES);
nRandomWriteBytes = new LongStat(stats, FILEMGR_RANDOM_WRITE_BYTES);
nSequentialReadBytes =
new LongStat(stats, FILEMGR_SEQUENTIAL_READ_BYTES);
nSequentialWriteBytes =
new LongStat(stats, FILEMGR_SEQUENTIAL_WRITE_BYTES);
nFileOpens = new IntStat(stats, FILEMGR_FILE_OPENS);
nOpenFiles = new IntStat(stats, FILEMGR_OPEN_FILES);
nBytesReadFromWriteQueue =
new LongStat(stats, FILEMGR_BYTES_READ_FROM_WRITEQUEUE);
nBytesWrittenFromWriteQueue =
new LongStat(stats, FILEMGR_BYTES_WRITTEN_FROM_WRITEQUEUE);
nReadsFromWriteQueue =
new LongStat(stats, FILEMGR_READS_FROM_WRITEQUEUE);
nWritesFromWriteQueue =
new LongStat(stats, FILEMGR_WRITES_FROM_WRITEQUEUE);
nWriteQueueOverflow = new LongStat(stats, FILEMGR_WRITEQUEUE_OVERFLOW);
nWriteQueueOverflowFailures =
new LongStat(stats, FILEMGR_WRITEQUEUE_OVERFLOW_FAILURES);
nLogFSyncs = new LongStat(stats, FILEMGR_LOG_FSYNCS);
nFSyncTime = new LongStat(stats, LogStatDefinition.FSYNCMGR_FSYNC_TIME);
try {
/* Read configurations. */
DbConfigManager configManager = envImpl.getConfigManager();
maxFileSize =