|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.auxiliary.disk.AbstractDiskCacheManager
org.apache.jcs.auxiliary.disk.file.FileDiskCacheManager
public class FileDiskCacheManager
This is a non singleton. It creates caches on a per region basis.
Field Summary |
---|
Fields inherited from interface org.apache.jcs.engine.behavior.ICacheType |
---|
CACHE_HUB, DISK_CACHE, LATERAL_CACHE, REMOTE_CACHE |
Constructor Summary | |
---|---|
protected |
FileDiskCacheManager(FileDiskCacheAttributes defaultCacheAttributes,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Constructor for the DiskFileCacheManager object |
Method Summary | |
---|---|
AuxiliaryCache |
getCache(FileDiskCacheAttributes cacheAttributes)
Get an DiskFileCache for the supplied attributes. |
AuxiliaryCache |
getCache(String cacheName)
Gets an DiskFileCache for the supplied name using the default attributes. |
int |
getCacheType()
Gets the cacheType attribute of the DiskCacheManager object |
Methods inherited from class org.apache.jcs.auxiliary.disk.AbstractDiskCacheManager |
---|
getCacheEventLogger, getElementSerializer, setCacheEventLogger, setElementSerializer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected FileDiskCacheManager(FileDiskCacheAttributes defaultCacheAttributes, ICacheEventLogger cacheEventLogger, IElementSerializer elementSerializer)
defaultCacheAttributes
- Default attributes for caches managed by the instance.cacheEventLogger
- elementSerializer
- Method Detail |
---|
public AuxiliaryCache getCache(String cacheName)
cacheName
- Name that will be used when creating attributes.
public AuxiliaryCache getCache(FileDiskCacheAttributes cacheAttributes)
cacheAttributes
- Attributes the cache should have.
public int getCacheType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |