Class FSRepresentationCacheManager
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.io.fs.repcache.FSRepresentationCacheManager
-
- All Implemented Interfaces:
IFSRepresentationCacheManager
public class FSRepresentationCacheManager extends java.lang.Object implements IFSRepresentationCacheManager
- Version:
- 1.3
- Author:
- TMate Software Ltd.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringREP_CACHE_TABLE
-
Constructor Summary
Constructors Constructor Description FSRepresentationCacheManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()static voidcreateRepresentationCache(java.io.File path)FSRepresentationgetRepresentationByHash(java.lang.String hash)voidinsert(FSRepresentation representation, boolean rejectDup)static IFSRepresentationCacheManageropenRepresentationCache(FSFS fsfs)voidrunReadTransaction(IFSSqlJetTransaction transaction)voidrunWriteTransaction(IFSSqlJetTransaction transaction)
-
-
-
Field Detail
-
REP_CACHE_TABLE
public static final java.lang.String REP_CACHE_TABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
openRepresentationCache
public static IFSRepresentationCacheManager openRepresentationCache(FSFS fsfs) throws SVNException
- Throws:
SVNException
-
createRepresentationCache
public static void createRepresentationCache(java.io.File path) throws SVNException- Throws:
SVNException
-
insert
public void insert(FSRepresentation representation, boolean rejectDup) throws SVNException
- Specified by:
insertin interfaceIFSRepresentationCacheManager- Throws:
SVNException
-
close
public void close() throws SVNException- Specified by:
closein interfaceIFSRepresentationCacheManager- Throws:
SVNException
-
getRepresentationByHash
public FSRepresentation getRepresentationByHash(java.lang.String hash) throws SVNException
- Specified by:
getRepresentationByHashin interfaceIFSRepresentationCacheManager- Throws:
SVNException
-
runWriteTransaction
public void runWriteTransaction(IFSSqlJetTransaction transaction) throws SVNException
- Specified by:
runWriteTransactionin interfaceIFSRepresentationCacheManager- Throws:
SVNException
-
runReadTransaction
public void runReadTransaction(IFSSqlJetTransaction transaction) throws SVNException
- Specified by:
runReadTransactionin interfaceIFSRepresentationCacheManager- Throws:
SVNException
-
-