Class FSLogicalAddressingIndex
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.io.fs.index.FSLogicalAddressingIndex
-
public class FSLogicalAddressingIndex extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
L2P_STREAM_PREFIX
static java.lang.String
P2L_STREAM_PREFIX
-
Constructor Summary
Constructors Constructor Description FSLogicalAddressingIndex(FSFS fsfs, FSFile myFile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
compareEntryOffset(FSP2LEntry entry, long offset)
long
getItemIndexByOffset(long offset)
long
getOffsetByItemIndex(long revision, long itemIndex)
protected org.tmatesoft.svn.core.internal.io.fs.index.FSLogicalAddressingIndex.P2LPageInfo
getP2LKeys(long revision, long offset)
long
getStartRevision(long revision)
java.util.List<FSP2LEntry>
lookupP2LEntries(long revision, long blockStart, long blockEnd)
static int
searchLowerBound(java.util.List<FSP2LEntry> list, long key)
-
-
-
Field Detail
-
L2P_STREAM_PREFIX
public static final java.lang.String L2P_STREAM_PREFIX
- See Also:
- Constant Field Values
-
P2L_STREAM_PREFIX
public static final java.lang.String P2L_STREAM_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getStartRevision
public long getStartRevision(long revision)
-
getOffsetByItemIndex
public long getOffsetByItemIndex(long revision, long itemIndex) throws SVNException
- Throws:
SVNException
-
getItemIndexByOffset
public long getItemIndexByOffset(long offset)
-
lookupP2LEntries
public java.util.List<FSP2LEntry> lookupP2LEntries(long revision, long blockStart, long blockEnd) throws SVNException
- Throws:
SVNException
-
getP2LKeys
protected org.tmatesoft.svn.core.internal.io.fs.index.FSLogicalAddressingIndex.P2LPageInfo getP2LKeys(long revision, long offset) throws SVNException
- Throws:
SVNException
-
searchLowerBound
public static int searchLowerBound(java.util.List<FSP2LEntry> list, long key)
-
compareEntryOffset
public static int compareEntryOffset(FSP2LEntry entry, long offset)
-
-