public class FSRepresentationCacheManager extends java.lang.Object implements IFSRepresentationCacheManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REP_CACHE_TABLE |
Constructor and Description |
---|
FSRepresentationCacheManager() |
Modifier and Type | Method and 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) |
public static final java.lang.String REP_CACHE_TABLE
public static IFSRepresentationCacheManager openRepresentationCache(FSFS fsfs) throws SVNException
SVNException
public static void createRepresentationCache(java.io.File path) throws SVNException
SVNException
public void insert(FSRepresentation representation, boolean rejectDup) throws SVNException
insert
in interface IFSRepresentationCacheManager
SVNException
public void close() throws SVNException
close
in interface IFSRepresentationCacheManager
SVNException
public FSRepresentation getRepresentationByHash(java.lang.String hash) throws SVNException
getRepresentationByHash
in interface IFSRepresentationCacheManager
SVNException
public void runWriteTransaction(IFSSqlJetTransaction transaction) throws SVNException
runWriteTransaction
in interface IFSRepresentationCacheManager
SVNException
public void runReadTransaction(IFSSqlJetTransaction transaction) throws SVNException
runReadTransaction
in interface IFSRepresentationCacheManager
SVNException
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.