Class FSRoot
java.lang.Object
org.tmatesoft.svn.core.internal.io.fs.FSRoot
- Direct Known Subclasses:
FSRevisionRoot
,FSTransactionRoot
public abstract class FSRoot
extends java.lang.Object
- Version:
- 1.3
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FSFS
private FSRoot.RevisionCache
protected FSRevisionNode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckNodeKind
(java.lang.String path) java.util.Map
private void
encodeL2PPage
(byte[] encoded, java.util.List<java.lang.Long> entries, int start, int end, SVNSpillBuffer spillBuffer) protected java.util.Map
fetchAllChanges
(FSFile changesFile, boolean prefolded) protected FSRevisionNode
fetchRevNodeFromCache
(java.lang.String path) private void
foldChange
(java.util.Map mapChanges, FSPathChange change) abstract java.util.Map
abstract FSCopyInheritance
getCopyInheritance
(FSParentPath child) long
getFileSize
(java.lang.String path) java.io.InputStream
getFileStreamForPath
(SVNDeltaCombiner combiner, java.lang.String path) getOwner()
abstract long
getRevisionNode
(java.lang.String path) abstract FSRevisionNode
boolean
openPath
(java.lang.String path, boolean lastEntryMustExist, boolean storeParents) void
putRevNodeToCache
(java.lang.String path, FSRevisionNode node) private FSPathChange
readChange
(FSFile raReader) void
removeRevNodeFromCache
(java.lang.String path) private static void
writeEncoded
(java.io.OutputStream outputStream, byte[] bytes, long value) void
writeIndexData
(CountingOutputStream protoFile, long newRevision, java.lang.String txnId) private java.lang.String
writeL2PIndex
(CountingOutputStream protoFile, long revision, java.lang.String txnId) private java.lang.String
writeP2LIndex
(CountingOutputStream protoFile, long revision, java.lang.String txnId) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
myRevNodesCache
-
myFSFS
-
myRootRevisionNode
-
-
Constructor Details
-
FSRoot
-
-
Method Details
-
getOwner
-
getRevisionNode
- Throws:
SVNException
-
getRevision
public abstract long getRevision() -
getRootRevisionNode
- Throws:
SVNException
-
getChangedPaths
- Throws:
SVNException
-
getCopyInheritance
- Throws:
SVNException
-
openPath
public FSParentPath openPath(java.lang.String path, boolean lastEntryMustExist, boolean storeParents) throws SVNException - Throws:
SVNException
-
checkNodeKind
- Throws:
SVNException
-
putRevNodeToCache
- Throws:
SVNException
-
removeRevNodeFromCache
- Throws:
SVNException
-
fetchRevNodeFromCache
- Throws:
SVNException
-
foldChange
- Throws:
SVNException
-
fetchAllChanges
- Throws:
SVNException
-
detectChanged
- Throws:
SVNException
-
readChange
- Throws:
SVNException
-
getFileStreamForPath
public java.io.InputStream getFileStreamForPath(SVNDeltaCombiner combiner, java.lang.String path) throws SVNException - Throws:
SVNException
-
getFileSize
- Throws:
SVNException
-
isUseLogAddressing
public boolean isUseLogAddressing() -
writeIndexData
public void writeIndexData(CountingOutputStream protoFile, long newRevision, java.lang.String txnId) throws SVNException - Throws:
SVNException
-
writeL2PIndex
private java.lang.String writeL2PIndex(CountingOutputStream protoFile, long revision, java.lang.String txnId) throws SVNException - Throws:
SVNException
-
writeP2LIndex
private java.lang.String writeP2LIndex(CountingOutputStream protoFile, long revision, java.lang.String txnId) throws SVNException - Throws:
SVNException
-
encodeL2PPage
private void encodeL2PPage(byte[] encoded, java.util.List<java.lang.Long> entries, int start, int end, SVNSpillBuffer spillBuffer) throws SVNException - Throws:
SVNException
-
writeEncoded
private static void writeEncoded(java.io.OutputStream outputStream, byte[] bytes, long value) throws java.io.IOException - Throws:
java.io.IOException
-