com.sleepycat.je.log
Class PrintFileReader
java.lang.Object
com.sleepycat.je.log.FileReader
com.sleepycat.je.log.DumpFileReader
com.sleepycat.je.log.PrintFileReader
public class PrintFileReader
- extends DumpFileReader
The PrintFileReader prints out the target log entries.
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrintFileReader
public PrintFileReader(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
processEntry
protected boolean processEntry(ByteBuffer entryBuffer)
throws DatabaseException
- This reader prints the log entry item.
- Specified by:
processEntry
in class FileReader
- Returns:
- true if this entry should be returned
- Throws:
DatabaseException
Copyright 2004-2005 Sleepycat, Inc. All Rights Reserved.