com.sleepycat.je.log
Class DumpFileReader
java.lang.Object
com.sleepycat.je.log.FileReader
com.sleepycat.je.log.DumpFileReader
- Direct Known Subclasses:
- PrintFileReader, StatsFileReader
public abstract class DumpFileReader
- extends FileReader
The DumpFileReader prints every log entry to stdout.
Fields inherited from class com.sleepycat.je.log.FileReader |
anticipateChecksumErrors, cksumValidator, currentEntryChecksum, currentEntryOffset, currentEntryPrevOffset, currentEntrySize, currentEntryTypeNum, currentEntryTypeVersion, env, eof, fileManager, nextEntryOffset, readBufferFileEnd, readBufferFileNum, readBufferFileStart, startLsn |
Method Summary |
protected boolean |
isTargetEntry(byte logEntryTypeNumber,
byte logEntryTypeVersion)
|
void |
summarize()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
targetTxnIds
protected Set targetTxnIds
verbose
protected boolean verbose
DumpFileReader
public DumpFileReader(EnvironmentImpl env,
int readBufferSize,
long startLsn,
long finishLsn,
String entryTypes,
String txnIds,
boolean verbose)
throws IOException,
DatabaseException
- Create this reader to start at a given LSN.
- Throws:
IOException
DatabaseException
isTargetEntry
protected boolean isTargetEntry(byte logEntryTypeNumber,
byte logEntryTypeVersion)
- Overrides:
isTargetEntry
in class FileReader
- Returns:
- true if this reader should process this entry, or just
skip over it.
summarize
public void summarize()
Copyright 2004-2005 Sleepycat, Inc. All Rights Reserved.