|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jcs.auxiliary.disk.block.BlockDiskCacheManager
public class BlockDiskCacheManager
Cache manager for BlockDiskCaches. This manages the instances of the disk cache.
| Field Summary |
|---|
| Fields inherited from interface org.apache.jcs.engine.behavior.ICacheType |
|---|
CACHE_HUB, DISK_CACHE, LATERAL_CACHE, REMOTE_CACHE |
| Method Summary | |
|---|---|
void |
freeCache(java.lang.String cacheName)
Disposes the cache with the given name, if found in the set of managed caches. |
AuxiliaryCache |
getCache(BlockDiskCacheAttributes cacheAttributes)
Get an BlockDiskCache for the supplied attributes. |
AuxiliaryCache |
getCache(java.lang.String cacheName)
Gets an BlockDiskCache for the supplied name using the default attributes. |
int |
getCacheType()
Gets the cacheType attribute of the DiskCacheManager object |
static BlockDiskCacheManager |
getInstance(BlockDiskCacheAttributes defaultCacheAttributes)
Gets the singleton instance of the manager |
void |
release()
Releases the cache manager instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static BlockDiskCacheManager getInstance(BlockDiskCacheAttributes defaultCacheAttributes)
defaultCacheAttributes - If the instance has not yet been created, it will be
initialized with this set of default attributes.
public AuxiliaryCache getCache(java.lang.String cacheName)
getCache in interface AuxiliaryCacheManagercacheName - Name that will be used when creating attributes.
public AuxiliaryCache getCache(BlockDiskCacheAttributes cacheAttributes)
cacheAttributes - Attributes the cache should have.
public void freeCache(java.lang.String cacheName)
cacheName - Name of cache to dispose.public int getCacheType()
getCacheType in interface ICacheTypepublic void release()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||