public class StatsFileReader extends DumpFileReader
FileReader.EOFException, FileReader.ReadWindowverbosecksumValidator, currentEntryHeader, currentEntryOffset, currentEntryPrevOffset, envImpl, eof, fileManager, forward, logger, nextEntryOffset, startLsn, window| Constructor and Description |
|---|
StatsFileReader(EnvironmentImpl envImpl,
int readBufferSize,
long startLsn,
long finishLsn,
long endOfFileLsn,
String entryTypes,
String dbIds,
String txnIds,
boolean verbose,
boolean repEntriesOnly,
boolean forwards)
Create this reader to start at a given LSN.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
processEntry(ByteBuffer entryBuffer)
This reader collects stats about the log entry.
|
void |
summarize(boolean csvFormat) |
isTargetEntry, matchEntry, needMatchEntryentryIsReplicated, getAndResetNReads, getLastEntrySize, getLastLsn, getLastVlsn, getLogVersion, getNRepeatIteratorReads, getNumRead, handleGapInBackwardsScan, initStartingPosition, makeWindow, readNextEntry, readNextEntryAllowExceptions, setAlwaysValidateChecksum, setBackwardPosition, setForwardPosition, skipData, skipEntrypublic StatsFileReader(EnvironmentImpl envImpl, int readBufferSize, long startLsn, long finishLsn, long endOfFileLsn, String entryTypes, String dbIds, String txnIds, boolean verbose, boolean repEntriesOnly, boolean forwards) throws DatabaseException
DatabaseExceptionprotected boolean processEntry(ByteBuffer entryBuffer)
processEntry in class FileReaderentryBuffer - A ByteBuffer that the logrec data and is positioned
at the start of the logrec body (i.e., just after the logrec header).public void summarize(boolean csvFormat)
summarize in class DumpFileReaderCopyright © 2024. All rights reserved.