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 voidcheckFormat(org.tmatesoft.sqljet.core.table.SqlJetDb db) voidclose()private static SVNErrorMessageconvertError(org.tmatesoft.sqljet.core.SqlJetException e) private static SVNErrorCodeconvertErrorCode(org.tmatesoft.sqljet.core.SqlJetException e) static voidprivate FSRepresentationCacheRecordvoidinsert(FSRepresentation representation, boolean rejectDup) openRepresentationCache(FSFS fsfs) voidrunReadTransaction(IFSSqlJetTransaction transaction) voidrunWriteTransaction(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:
insertin interfaceIFSRepresentationCacheManager- Throws:
SVNException
-
close
- Specified by:
closein interfaceIFSRepresentationCacheManager- Throws:
SVNException
-
getRepresentationByHash
- Specified by:
getRepresentationByHashin interfaceIFSRepresentationCacheManager- Throws:
SVNException
-
getByHash
- Throws:
SVNException
-
convertError
-
convertErrorCode
-
runWriteTransaction
- Specified by:
runWriteTransactionin interfaceIFSRepresentationCacheManager- Throws:
SVNException
-
runReadTransaction
- Specified by:
runReadTransactionin interfaceIFSRepresentationCacheManager- Throws:
SVNException
-