|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.auxiliary.disk.jdbc.hsql.HSQLDiskCacheFactory
public class HSQLDiskCacheFactory
This factory should create mysql disk caches.
Constructor Summary | |
---|---|
HSQLDiskCacheFactory()
|
Method Summary | |
---|---|
AuxiliaryCache |
createCache(AuxiliaryCacheAttributes rawAttr,
ICompositeCacheManager arg1,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
This factory method should create an instance of the mysqlcache. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HSQLDiskCacheFactory()
Method Detail |
---|
public AuxiliaryCache createCache(AuxiliaryCacheAttributes rawAttr, ICompositeCacheManager arg1, ICacheEventLogger cacheEventLogger, IElementSerializer elementSerializer)
createCache
in interface AuxiliaryCacheFactory
rawAttr
- arg1
- 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |