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
SVNException
public static java.io.File getIndexPath(FSFS fsfs, java.lang.String txnId)
public void close()
public FSP2LEntry readEntry() throws SVNException
SVNException
public void writeEntry(FSP2LEntry entry) throws SVNException
SVNException
public long readNextOffset() throws SVNException
SVNException
private int readInt() throws SVNException
SVNException
private long readOffset() throws SVNException
SVNException
private long readLong() throws SVNException
SVNException