|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.auxiliary.disk.jdbc.JDBCDiskCacheManagerAbstractTemplate
org.apache.jcs.auxiliary.disk.jdbc.JDBCDiskCacheManager
public class JDBCDiskCacheManager
This manages instances of the jdbc disk cache. It maintains one for each region. One for all regions would work, but this gives us more detailed stats by region.
Field Summary |
---|
Fields inherited from class org.apache.jcs.auxiliary.disk.jdbc.JDBCDiskCacheManagerAbstractTemplate |
---|
caches, clients, tableStates |
Fields inherited from interface org.apache.jcs.engine.behavior.ICacheType |
---|
CACHE_HUB, DISK_CACHE, LATERAL_CACHE, REMOTE_CACHE |
Method Summary | |
---|---|
protected AuxiliaryCache |
createJDBCDiskCache(JDBCDiskCacheAttributes cattr,
TableState tableState)
Creates a JDBCDiskCache using the supplied attributes. |
AuxiliaryCache |
getCache(java.lang.String cacheName)
Gets the cache attribute of the HSQLCacheManager object |
JDBCDiskCacheAttributes |
getDefaultJDBCDiskCacheAttributes()
Gets the defaultCattr attribute of the HSQLCacheManager object |
static JDBCDiskCacheManager |
getInstance(JDBCDiskCacheAttributes cattr)
Gets the instance attribute of the HSQLCacheManager class |
Methods inherited from class org.apache.jcs.auxiliary.disk.jdbc.JDBCDiskCacheManagerAbstractTemplate |
---|
createShrinkerWhenNeeded, freeCache, getCache, getCacheType, release |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public JDBCDiskCacheAttributes getDefaultJDBCDiskCacheAttributes()
public static JDBCDiskCacheManager getInstance(JDBCDiskCacheAttributes cattr)
cattr
-
public AuxiliaryCache getCache(java.lang.String cacheName)
cacheName
-
protected AuxiliaryCache createJDBCDiskCache(JDBCDiskCacheAttributes cattr, TableState tableState)
createJDBCDiskCache
in class JDBCDiskCacheManagerAbstractTemplate
cattr
- tableState
- An object used by multiple processes to indicate state.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |