com.sleepycat.je.recovery
Class RollbackTracker.BackwardScanner
java.lang.Object
com.sleepycat.je.recovery.RollbackTracker.Scanner
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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RollbackTracker.BackwardScanner
RollbackTracker.BackwardScanner()
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.