Class FSTransactionItemIndex

java.lang.Object
org.tmatesoft.svn.core.internal.io.fs.index.FSTransactionItemIndex
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable

public class FSTransactionItemIndex extends java.lang.Object implements java.io.Closeable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final java.io.RandomAccessFile
     
    private static final java.lang.String
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    FSTransactionItemIndex(java.io.RandomAccessFile file)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    allocateItemIndex(long offset)
     
    private static int
    arrayIndexOf(byte[] array, byte value)
     
    void
     
    static java.io.File
    getIndexPath(FSFS fsfs, java.lang.String txnId)
     
    open(FSFS fsfs, java.lang.String txnId)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • FILENAME

      private static final java.lang.String FILENAME
      See Also:
    • file

      private final java.io.RandomAccessFile file
  • Constructor Details

    • FSTransactionItemIndex

      private FSTransactionItemIndex(java.io.RandomAccessFile file)
  • Method Details

    • open

      public static FSTransactionItemIndex open(FSFS fsfs, java.lang.String txnId) throws SVNException
      Throws:
      SVNException
    • getIndexPath

      public static java.io.File getIndexPath(FSFS fsfs, java.lang.String txnId)
    • close

      public void close()
      Specified by:
      close in interface java.lang.AutoCloseable
      Specified by:
      close in interface java.io.Closeable
    • allocateItemIndex

      public long allocateItemIndex(long offset) throws SVNException
      Throws:
      SVNException
    • arrayIndexOf

      private static int arrayIndexOf(byte[] array, byte value)