Class FSRepresentationCacheManager
java.lang.Object
org.tmatesoft.svn.core.internal.io.fs.repcache.FSRepresentationCacheManager
- All Implemented Interfaces:
IFSRepresentationCacheManager
- Version:
- 1.3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
checkFormat
(org.tmatesoft.sqljet.core.table.SqlJetDb db) void
close()
private static SVNErrorMessage
convertError
(org.tmatesoft.sqljet.core.SqlJetException e) private static SVNErrorCode
convertErrorCode
(org.tmatesoft.sqljet.core.SqlJetException e) static void
private FSRepresentationCacheRecord
void
insert
(FSRepresentation representation, boolean rejectDup) openRepresentationCache
(FSFS fsfs) void
runReadTransaction
(IFSSqlJetTransaction transaction) void
runWriteTransaction
(IFSSqlJetTransaction transaction)
-
Field Details
-
REP_CACHE_TABLE
- See Also:
-
REP_CACHE_DB_FORMAT
private static final int REP_CACHE_DB_FORMAT- See Also:
-
REP_CACHE_DB_SQL
- See Also:
-
myRepCacheDB
private org.tmatesoft.sqljet.core.table.SqlJetDb myRepCacheDB -
myTable
private org.tmatesoft.sqljet.core.table.ISqlJetTable myTable -
myFSFS
-
-
Constructor Details
-
FSRepresentationCacheManager
public FSRepresentationCacheManager()
-
-
Method Details
-
openRepresentationCache
- Throws:
SVNException
-
createRepresentationCache
- Throws:
SVNException
-
checkFormat
private static void checkFormat(org.tmatesoft.sqljet.core.table.SqlJetDb db) throws org.tmatesoft.sqljet.core.SqlJetException - Throws:
org.tmatesoft.sqljet.core.SqlJetException
-
insert
- Specified by:
insert
in interfaceIFSRepresentationCacheManager
- Throws:
SVNException
-
close
- Specified by:
close
in interfaceIFSRepresentationCacheManager
- Throws:
SVNException
-
getRepresentationByHash
- Specified by:
getRepresentationByHash
in interfaceIFSRepresentationCacheManager
- Throws:
SVNException
-
getByHash
- Throws:
SVNException
-
convertError
-
convertErrorCode
-
runWriteTransaction
- Specified by:
runWriteTransaction
in interfaceIFSRepresentationCacheManager
- Throws:
SVNException
-
runReadTransaction
- Specified by:
runReadTransaction
in interfaceIFSRepresentationCacheManager
- Throws:
SVNException
-