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 privateFSTransactionItemIndex(java.io.RandomAccessFile file)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longallocateItemIndex(long offset)private static intarrayIndexOf(byte[] array, byte value)voidclose()static java.io.FilegetIndexPath(FSFS fsfs, java.lang.String txnId)static FSTransactionItemIndexopen(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:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable
-
allocateItemIndex
public long allocateItemIndex(long offset) throws SVNException- Throws:
SVNException
-
arrayIndexOf
private static int arrayIndexOf(byte[] array, byte value)
-
-