public class FSL2PProtoIndex extends Object implements Closeable
Constructor and Description |
---|
FSL2PProtoIndex(RandomAccessFile file) |
Modifier and Type | Method and Description |
---|---|
void |
addEntry(long offset,
long itemIndex) |
void |
close() |
static File |
getIndexPath(FSFS fsfs,
String txnId) |
long |
getOffsetByItemIndex(long itemIndex) |
static FSL2PProtoIndex |
open(FSFS fsfs,
String txnId,
boolean append) |
FSL2PEntry |
readEntry() |
public FSL2PProtoIndex(RandomAccessFile file)
public static FSL2PProtoIndex open(FSFS fsfs, String txnId, boolean append) throws SVNException
SVNException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public long getOffsetByItemIndex(long itemIndex) throws SVNException
SVNException
public FSL2PEntry readEntry() throws SVNException
SVNException
public void addEntry(long offset, long itemIndex) throws SVNException
SVNException
Copyright © 2019. All rights reserved.