public class PrintFileReader extends DumpFileReader
FileReader.EOFException, FileReader.ReadWindow
targetTxnIds, verbose
cksumValidator, currentEntryHeader, currentEntryOffset, currentEntryPrevOffset, envImpl, eof, fileManager, forward, logger, nextEntryOffset, startLsn, window
Constructor and Description |
---|
PrintFileReader(EnvironmentImpl env,
int readBufferSize,
long startLsn,
long finishLsn,
long endOfFileLsn,
java.lang.String entryTypes,
java.lang.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(java.nio.ByteBuffer entryBuffer)
This reader prints the log entry item.
|
isTargetEntry, summarize
entryIsReplicated, getAndResetNReads, getLastEntrySize, getLastLsn, getNRepeatIteratorReads, getNumRead, initStartingPosition, makeWindow, readNextEntry, readNextEntryAllowExceptions, resyncReader, setAlwaysValidateChecksum, setBackwardPosition, setForwardPosition, skipData, skipEntry, threadSafeBufferFlip, threadSafeBufferPosition, threadSafeBufferPosition
public PrintFileReader(EnvironmentImpl env, int readBufferSize, long startLsn, long finishLsn, long endOfFileLsn, java.lang.String entryTypes, java.lang.String txnIds, boolean verbose, boolean repEntriesOnly, boolean forwards) throws DatabaseException
DatabaseException
protected boolean processEntry(java.nio.ByteBuffer entryBuffer) throws DatabaseException
processEntry
in class FileReader
entryBuffer
- contains the entry data and is positioned at the
dataDatabaseException
Copyright (c) 2004-2012 Oracle. All rights reserved.