Class FSL2PProtoIndex
java.lang.Object
org.tmatesoft.svn.core.internal.io.fs.index.FSL2PProtoIndex
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class FSL2PProtoIndex
extends java.lang.Object
implements java.io.Closeable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final java.io.RandomAccessFile
private static final java.lang.String
private static final long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEntry
(long offset, long itemIndex) void
close()
static java.io.File
getIndexPath
(FSFS fsfs, java.lang.String txnId) long
getOffsetByItemIndex
(long itemIndex) static FSL2PProtoIndex
private void
readEntry
(long[] entryOffset, long[] entryItemIndex) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
MAX_OFFSET
private static final long MAX_OFFSET- See Also:
-
FILENAME
private static final java.lang.String FILENAME- See Also:
-
file
private final java.io.RandomAccessFile file
-
-
Constructor Details
-
FSL2PProtoIndex
public FSL2PProtoIndex(java.io.RandomAccessFile file)
-
-
Method Details
-
open
public static FSL2PProtoIndex open(FSFS fsfs, java.lang.String txnId, boolean append) throws SVNException - Throws:
SVNException
-
getIndexPath
-
close
public void close()- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-
getOffsetByItemIndex
- Throws:
SVNException
-
readEntry
- Throws:
SVNException
-
readEntry
- Throws:
SVNException
-
addEntry
- Throws:
SVNException
-