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.String
REP_CACHE_TABLE
-
Constructor Summary
Constructors Constructor Description FSRepresentationCacheManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
static void
createRepresentationCache(java.io.File path)
FSRepresentation
getRepresentationByHash(java.lang.String hash)
void
insert(FSRepresentation representation, boolean rejectDup)
static IFSRepresentationCacheManager
openRepresentationCache(FSFS fsfs)
void
runReadTransaction(IFSSqlJetTransaction transaction)
void
runWriteTransaction(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:
insert
in interfaceIFSRepresentationCacheManager
- Throws:
SVNException
-
close
public void close() throws SVNException
- Specified by:
close
in interfaceIFSRepresentationCacheManager
- Throws:
SVNException
-
getRepresentationByHash
public FSRepresentation getRepresentationByHash(java.lang.String hash) throws SVNException
- Specified by:
getRepresentationByHash
in interfaceIFSRepresentationCacheManager
- Throws:
SVNException
-
runWriteTransaction
public void runWriteTransaction(IFSSqlJetTransaction transaction) throws SVNException
- Specified by:
runWriteTransaction
in interfaceIFSRepresentationCacheManager
- Throws:
SVNException
-
runReadTransaction
public void runReadTransaction(IFSSqlJetTransaction transaction) throws SVNException
- Specified by:
runReadTransaction
in interfaceIFSRepresentationCacheManager
- Throws:
SVNException
-
-