public class BlockDiskCacheManager extends AbstractDiskCacheManager
| Modifier and Type | Method and Description |
|---|---|
<K,V> BlockDiskCache<K,V> |
getCache(BlockDiskCacheAttributes cacheAttributes)
Get an BlockDiskCache for the supplied attributes.
|
<K,V> BlockDiskCache<K,V> |
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
|
getCacheEventLogger, getElementSerializer, setCacheEventLogger, setElementSerializerpublic 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,V> BlockDiskCache<K,V> getCache(String cacheName)
cacheName - Name that will be used when creating attributes.public <K,V> BlockDiskCache<K,V> getCache(BlockDiskCacheAttributes cacheAttributes)
cacheAttributes - Attributes the cache should have.Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.