public class StatsFileReader extends DumpFileReader
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
StatsFileReader.CheckpointCounter |
(package private) static class |
StatsFileReader.EntryInfo |
(package private) static class |
StatsFileReader.LogEntryTypeComparator |
targetTxnIds, verboseanticipateChecksumErrors, cksumValidator, currentEntryHeader, currentEntryOffset, currentEntryPrevOffset, envImpl, eof, fileManager, nextEntryOffset, readBufferFileEnd, readBufferFileNum, readBufferFileStart, startLsn| Constructor and Description |
|---|
StatsFileReader(EnvironmentImpl envImpl,
int readBufferSize,
long startLsn,
long finishLsn,
java.lang.String entryTypes,
java.lang.String txnIds,
boolean verbose)
Create this reader to start at a given LSN.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
processEntry(java.nio.ByteBuffer entryBuffer)
This reader collects stats about the log entry.
|
void |
summarize() |
isTargetEntrygetAndResetNReads, getLastEntrySize, getLastLsn, getNRepeatIteratorReads, getNumRead, initStartingPosition, readNextEntry, resyncReader, setAlwaysValidateChecksum, threadSafeBufferPosition, threadSafeBufferPositionpublic StatsFileReader(EnvironmentImpl envImpl, int readBufferSize, long startLsn, long finishLsn, java.lang.String entryTypes, java.lang.String txnIds, boolean verbose) throws java.io.IOException, DatabaseException
java.io.IOExceptionDatabaseExceptionprotected boolean processEntry(java.nio.ByteBuffer entryBuffer)
throws DatabaseException
processEntry in class FileReaderDatabaseExceptionpublic void summarize()
summarize in class DumpFileReaderCopyright (c) 2004,2008 Oracle. All rights reserved.