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 SummaryConstructors
- 
Method SummaryModifier 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.AbstractAuxiliaryCacheFactorygetName, setNameMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.commons.jcs3.auxiliary.AuxiliaryCacheFactorydispose, initialize
- 
Constructor Details- 
BlockDiskCacheFactorypublic BlockDiskCacheFactory()
 
- 
- 
Method Details- 
createCachepublic <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 cache
- cacheMgr- 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
 
 
-