public class HSQLDiskCacheFactory extends Object implements AuxiliaryCacheFactory
| Constructor and Description |
|---|
HSQLDiskCacheFactory() |
| Modifier and Type | Method and Description |
|---|---|
<K,V> AuxiliaryCache<K,V> |
createCache(AuxiliaryCacheAttributes rawAttr,
ICompositeCacheManager cacheManager,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
This factory method should create an instance of the hsqlcache.
|
String |
getName()
Returns the display name
|
void |
setName(String nameArg)
The name of the factory.
|
protected void |
setupDatabase(JDBCDiskCacheAttributes attributes)
Creates the database if it doesn't exist, registers the driver class, etc.
|
public <K,V> AuxiliaryCache<K,V> createCache(AuxiliaryCacheAttributes rawAttr, ICompositeCacheManager cacheManager, ICacheEventLogger cacheEventLogger, IElementSerializer elementSerializer)
createCache in interface AuxiliaryCacheFactoryrawAttr - cacheManager - cacheEventLogger - elementSerializer - public void setName(String nameArg)
setName in interface AuxiliaryCacheFactorynameArg - public String getName()
getName in interface AuxiliaryCacheFactoryprotected void setupDatabase(JDBCDiskCacheAttributes attributes) throws Exception
attributes - ExceptionCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.