Package | Description |
---|---|
org.apache.commons.jcs.auxiliary.disk.jdbc | |
org.apache.commons.jcs.auxiliary.disk.jdbc.hsql | |
org.apache.commons.jcs.auxiliary.disk.jdbc.mysql |
Modifier and Type | Method and Description |
---|---|
JDBCDiskCacheAttributes |
JDBCDiskCacheManager.getDefaultJDBCDiskCacheAttributes()
Gets the defaultCattr attribute of the HSQLCacheManager object
|
protected JDBCDiskCacheAttributes |
JDBCDiskCache.getJdbcDiskCacheAttributes() |
Modifier and Type | Method and Description |
---|---|
protected abstract <K,V> JDBCDiskCache<K,V> |
JDBCDiskCacheManagerAbstractTemplate.createJDBCDiskCache(JDBCDiskCacheAttributes cattr,
TableState tableState)
Children must implement this method.
|
protected <K,V> JDBCDiskCache<K,V> |
JDBCDiskCacheManager.createJDBCDiskCache(JDBCDiskCacheAttributes cattr,
TableState tableState)
Creates a JDBCDiskCache using the supplied attributes.
|
static JDBCDiskCachePoolAccess |
JDBCDiskCachePoolAccessManager.createPoolAccess(JDBCDiskCacheAttributes cattr)
Creates a JDBCDiskCachePoolAccess object from the JDBCDiskCacheAttributes.
|
protected void |
JDBCDiskCacheManagerAbstractTemplate.createShrinkerWhenNeeded(JDBCDiskCacheAttributes cattr,
AuxiliaryCache<?,?> raf)
If UseDiskShrinker is true then we will create a shrinker daemon if necessary.
|
<K,V> JDBCDiskCache<K,V> |
JDBCDiskCacheManagerAbstractTemplate.getCache(JDBCDiskCacheAttributes cattr)
Creates a JDBCDiskCache for the region if one doesn't exist, else it returns the pre-created
instance.
|
static JDBCDiskCacheManager |
JDBCDiskCacheManager.getInstance(JDBCDiskCacheAttributes cattr,
ICompositeCacheManager compositeCacheManager,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Gets the instance attribute of the HSQLCacheManager class
|
protected JDBCDiskCachePoolAccess |
JDBCDiskCache.initializePoolAccess(JDBCDiskCacheAttributes cattr,
ICompositeCacheManager compositeCacheManager)
Registers the driver and creates a poolAccess class.
|
protected void |
JDBCDiskCache.setJdbcDiskCacheAttributes(JDBCDiskCacheAttributes jdbcDiskCacheAttributes) |
Constructor and Description |
---|
JDBCDiskCache(JDBCDiskCacheAttributes cattr,
TableState tableState,
ICompositeCacheManager compositeCacheManager)
Constructs a JDBC Disk Cache for the provided cache attributes.
|
Modifier and Type | Method and Description |
---|---|
protected void |
HSQLDiskCacheFactory.setupDatabase(JDBCDiskCacheAttributes attributes)
Creates the database if it doesn't exist, registers the driver class, etc.
|
Modifier and Type | Class and Description |
---|---|
class |
MySQLDiskCacheAttributes
This has additional attributes that are particular to the MySQL disk cache.
|
Modifier and Type | Method and Description |
---|---|
protected <K,V> MySQLDiskCache<K,V> |
MySQLDiskCacheManager.createJDBCDiskCache(JDBCDiskCacheAttributes cattr,
TableState tableState)
Creates a JDBCDiskCache using the supplied attributes.
|
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.