Class BlockDiskCacheFactory
java.lang.Object
org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCacheFactory
org.apache.commons.jcs3.auxiliary.disk.block.BlockDiskCacheFactory
- All Implemented Interfaces:
AuxiliaryCacheFactory
Creates disk cache instances.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<K,
V> BlockDiskCache<K, V> createCache
(AuxiliaryCacheAttributes iaca, ICompositeCacheManager cacheMgr, ICacheEventLogger cacheEventLogger, IElementSerializer elementSerializer) Create an instance of the BlockDiskCache.Methods inherited from class org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCacheFactory
getName, setName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.commons.jcs3.auxiliary.AuxiliaryCacheFactory
dispose, initialize
-
Constructor Details
-
BlockDiskCacheFactory
public BlockDiskCacheFactory()
-
-
Method Details
-
createCache
public <K,V> BlockDiskCache<K,V> createCache(AuxiliaryCacheAttributes iaca, ICompositeCacheManager cacheMgr, ICacheEventLogger cacheEventLogger, IElementSerializer elementSerializer) Create an instance of the BlockDiskCache.- Parameters:
iaca
- the cache attributes for this cachecacheMgr
- This allows auxiliaries to reference the manager without assuming that it is a singleton. This will allow JCS to be a non-singleton. Also, it makes it easier to test.cacheEventLogger
-elementSerializer
-- Returns:
- BlockDiskCache
-