public class FSP2LProtoIndex
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FSP2LProtoIndex.ItemType |
| Modifier and Type | Field and Description |
|---|---|
private java.io.RandomAccessFile |
file |
private static java.lang.String |
FILENAME |
private static long |
MAX_OFFSET |
| Constructor and Description |
|---|
FSP2LProtoIndex(java.io.RandomAccessFile file) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static java.io.File |
getIndexPath(FSFS fsfs,
java.lang.String txnId) |
static FSP2LProtoIndex |
open(FSFS fsfs,
java.lang.String txnId,
boolean append) |
FSP2LEntry |
readEntry() |
private int |
readInt() |
private long |
readLong() |
long |
readNextOffset() |
private long |
readOffset() |
void |
writeEntry(FSP2LEntry entry) |
private static final long MAX_OFFSET
private static final java.lang.String FILENAME
private final java.io.RandomAccessFile file
public static FSP2LProtoIndex open(FSFS fsfs, java.lang.String txnId, boolean append) throws SVNException
SVNExceptionpublic static java.io.File getIndexPath(FSFS fsfs, java.lang.String txnId)
public void close()
public FSP2LEntry readEntry() throws SVNException
SVNExceptionpublic void writeEntry(FSP2LEntry entry) throws SVNException
SVNExceptionpublic long readNextOffset()
throws SVNException
SVNExceptionprivate int readInt()
throws SVNException
SVNExceptionprivate long readOffset()
throws SVNException
SVNExceptionprivate long readLong()
throws SVNException
SVNException