com.sleepycat.je.rep.vlsn
Class VLSNIndex.BackwardVLSNScanner
java.lang.Object
com.sleepycat.je.rep.vlsn.VLSNIndex.BackwardVLSNScanner
- Enclosing class:
- VLSNIndex
public static class VLSNIndex.BackwardVLSNScanner
- extends Object
Assumes that VLSNs are scanned backwards. May be used by syncup to
optimally search for matchpoints.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VLSNIndex.BackwardVLSNScanner
public VLSNIndex.BackwardVLSNScanner(VLSNIndex vlsnIndex)
getStartingLsn
public long getStartingLsn(VLSN vlsn)
getPreciseLsn
public long getPreciseLsn(VLSN vlsn)
- Parameters:
vlsn
- We're requesting a LSN mapping for this vlsn
- Returns:
- If there is a mapping for this VLSN, return it, else return
NULL_LSN. We assume that we checked that this VLSN is in the
VLSNIndex's range.
- See Also:
getPreciseLsn(com.sleepycat.je.utilint.VLSN)
Copyright (c) 2004-2012 Oracle. All rights reserved.