Class FSLogicalAddressingIndex


  • public class FSLogicalAddressingIndex
    extends java.lang.Object
    • 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
    • Constructor Detail

      • FSLogicalAddressingIndex

        public FSLogicalAddressingIndex​(FSFS fsfs,
                                        FSFile myFile)
    • 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)
      • 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)