|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
public class IndexedDiskCacheFactory
Creates disk cache instances.
| Constructor Summary | |
|---|---|
IndexedDiskCacheFactory()
|
|
| Method Summary | |
|---|---|
AuxiliaryCache |
createCache(AuxiliaryCacheAttributes iaca,
ICompositeCacheManager cacheMgr)
Get an instance of the IndexDiskCacheManager for the attributes and then get an IndexedDiskCache from the manager. |
java.lang.String |
getName()
Gets the name attribute of the DiskCacheFactory object |
void |
setName(java.lang.String name)
Sets the name attribute of the DiskCacheFactory object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndexedDiskCacheFactory()
| Method Detail |
|---|
public AuxiliaryCache createCache(AuxiliaryCacheAttributes iaca,
ICompositeCacheManager cacheMgr)
The manager is a singleton.
One disk cache is returned per region fromt he maanger.
createCache in interface AuxiliaryCacheFactoryiaca - cacheMgr - This allows auxiliaries to reference the manager without
assuming that it is a singleton. This will allow JCS to be a
nonsingleton. Also, it makes it easier to test.
public java.lang.String getName()
getName in interface AuxiliaryCacheFactorypublic void setName(java.lang.String name)
setName in interface AuxiliaryCacheFactoryname - The new name value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||