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 AuxiliaryCacheFactory
rawAttr
- cacheManager
- cacheEventLogger
- elementSerializer
- public void setName(String nameArg)
setName
in interface AuxiliaryCacheFactory
nameArg
- public String getName()
getName
in interface AuxiliaryCacheFactory
protected void setupDatabase(JDBCDiskCacheAttributes attributes) throws Exception
attributes
- Exception
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.