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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FSFSprivate org.tmatesoft.sqljet.core.table.SqlJetDbprivate org.tmatesoft.sqljet.core.table.ISqlJetTableprivate static final intprivate static final java.lang.Stringstatic final java.lang.String -
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 voidcreateRepresentationCache(java.io.File path) private FSRepresentationCacheRecordgetByHash(java.lang.String hash) getRepresentationByHash(java.lang.String hash) voidinsert(FSRepresentation representation, boolean rejectDup) openRepresentationCache(FSFS fsfs) voidrunReadTransaction(IFSSqlJetTransaction transaction) voidrunWriteTransaction(IFSSqlJetTransaction transaction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
REP_CACHE_TABLE
public static final java.lang.String REP_CACHE_TABLE- See Also:
-
REP_CACHE_DB_FORMAT
private static final int REP_CACHE_DB_FORMAT- See Also:
-
REP_CACHE_DB_SQL
private static final java.lang.String 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
-