com.sleepycat.je.recovery
Class RollbackTracker.BackwardScanner

java.lang.Object
  extended by com.sleepycat.je.recovery.RollbackTracker.Scanner
      extended by com.sleepycat.je.recovery.RollbackTracker.BackwardScanner
Enclosing class:
RollbackTracker

 class RollbackTracker.BackwardScanner
extends RollbackTracker.Scanner

In a backward scanner, the currentPeriod field is always pointing to the period that contains this lsn. If the lsn is not in a period, the currentPeriod is the period that is just before this lsn. If there is no period before this lsn, the currentPeriod field is null.


Field Summary
 
Fields inherited from class com.sleepycat.je.recovery.RollbackTracker.Scanner
target
 
Constructor Summary
RollbackTracker.BackwardScanner()
           
 
Method Summary
 boolean positionAndCheck(long lsn, long txnId)
          Return true if this transactional log entry is something that should be rolled back in this rollback period.
 
Methods inherited from class com.sleepycat.je.recovery.RollbackTracker.Scanner
needsRollback, rollback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RollbackTracker.BackwardScanner

RollbackTracker.BackwardScanner()
Method Detail

positionAndCheck

public boolean positionAndCheck(long lsn,
                                long txnId)
Description copied from class: RollbackTracker.Scanner
Return true if this transactional log entry is something that should be rolled back in this rollback period. The Scanner's position can be changed by this call. Update the target field if necessary.

Specified by:
positionAndCheck in class RollbackTracker.Scanner


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