|
||||||||||
| 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.block.BlockDiskCacheManager
public class BlockDiskCacheManager
Cache manager for BlockDiskCaches. This manages the instances of the disk cache.
| Method Summary | ||
|---|---|---|
|
getCache(BlockDiskCacheAttributes cacheAttributes)
Get an BlockDiskCache for the supplied attributes. |
|
|
getCache(String cacheName)
Gets an BlockDiskCache for the supplied name using the default attributes. |
|
static BlockDiskCacheManager |
getInstance(BlockDiskCacheAttributes defaultCacheAttributes,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Gets the singleton instance of the manager |
|
| 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 |
| Method Detail |
|---|
public static BlockDiskCacheManager getInstance(BlockDiskCacheAttributes defaultCacheAttributes,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
defaultCacheAttributes - If the instance has not yet been created, it will be
initialized with this set of default attributes.cacheEventLogger - elementSerializer -
public <K extends Serializable,V extends Serializable> BlockDiskCache<K,V> getCache(String cacheName)
cacheName - Name that will be used when creating attributes.
public <K extends Serializable,V extends Serializable> BlockDiskCache<K,V> getCache(BlockDiskCacheAttributes cacheAttributes)
cacheAttributes - Attributes the cache should have.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||