public class FSTransactionItemIndex
extends java.lang.Object
implements java.io.Closeable
Modifier and Type | Field and Description |
---|---|
private java.io.RandomAccessFile |
file |
private static java.lang.String |
FILENAME |
Modifier | Constructor and Description |
---|---|
private |
FSTransactionItemIndex(java.io.RandomAccessFile file) |
Modifier and Type | Method and 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) |
private static final java.lang.String FILENAME
private final java.io.RandomAccessFile file
private FSTransactionItemIndex(java.io.RandomAccessFile file)
public static FSTransactionItemIndex open(FSFS fsfs, java.lang.String txnId) throws SVNException
SVNException
public static java.io.File getIndexPath(FSFS fsfs, java.lang.String txnId)
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
public long allocateItemIndex(long offset) throws SVNException
SVNException
private static int arrayIndexOf(byte[] array, byte value)