com.sleepycat.je.txn
Class UndoReader

java.lang.Object
  extended by com.sleepycat.je.txn.UndoReader

public class UndoReader
extends Object

Convenience class to package together the different steps and fields needed for reading a log entry for undoing. Is used for both txn aborts and recovery undos.


Field Summary
 DatabaseImpl db
           
 LN ln
           
 LNLogEntry logEntry
           
 
Constructor Summary
UndoReader(EnvironmentImpl envImpl, long undoLsn, Map<DatabaseId,DatabaseImpl> undoDatabases)
           
UndoReader(LNFileReader reader, DbTree dbMapTree)
           
 
Method Summary
 void releaseDb()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logEntry

public final LNLogEntry logEntry

ln

public final LN ln

db

public final DatabaseImpl db
Constructor Detail

UndoReader

public UndoReader(EnvironmentImpl envImpl,
                  long undoLsn,
                  Map<DatabaseId,DatabaseImpl> undoDatabases)

UndoReader

public UndoReader(LNFileReader reader,
                  DbTree dbMapTree)
Method Detail

releaseDb

public void releaseDb()

toString

public String toString()
Overrides:
toString in class Object


Copyright (c) 2004-2012 Oracle. All rights reserved.