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.StringL2P_STREAM_PREFIXstatic java.lang.StringP2L_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 intcompareEntryOffset(FSP2LEntry entry, long offset)longgetItemIndexByOffset(long offset)longgetOffsetByItemIndex(long revision, long itemIndex)protected org.tmatesoft.svn.core.internal.io.fs.index.FSLogicalAddressingIndex.P2LPageInfogetP2LKeys(long revision, long offset)longgetStartRevision(long revision)java.util.List<FSP2LEntry>lookupP2LEntries(long revision, long blockStart, long blockEnd)static intsearchLowerBound(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)
-
-