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
-
-
Constructor Summary
Constructors Modifier Constructor Description private
FSTransactionItemIndex(java.io.RandomAccessFile file)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
allocateItemIndex(long offset)
private static int
arrayIndexOf(byte[] array, byte value)
void
close()
static java.io.File
getIndexPath(FSFS fsfs, java.lang.String txnId)
static FSTransactionItemIndex
open(FSFS fsfs, java.lang.String txnId)
-
-
-
Field Detail
-
FILENAME
private static final java.lang.String FILENAME
- See Also:
- Constant Field Values
-
file
private final java.io.RandomAccessFile file
-
-
Method Detail
-
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 interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-
allocateItemIndex
public long allocateItemIndex(long offset) throws SVNException
- Throws:
SVNException
-
arrayIndexOf
private static int arrayIndexOf(byte[] array, byte value)
-
-