public class IndexedDiskCacheManager extends AbstractDiskCacheManager
CACHE_HUB, DISK_CACHE, LATERAL_CACHE, REMOTE_CACHE| Modifier and Type | Method and Description |
|---|---|
AuxiliaryCache |
getCache(IndexedDiskCacheAttributes cacheAttributes)
Get an IndexedDiskCache for the supplied attributes.
|
AuxiliaryCache |
getCache(java.lang.String cacheName)
Gets an IndexedDiskCache for the supplied name using the default attributes.
|
int |
getCacheType()
Gets the cacheType attribute of the DiskCacheManager object
|
static IndexedDiskCacheManager |
getInstance(IndexedDiskCacheAttributes defaultCacheAttributes,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Gets the singleton instance of the manager
|
getCacheEventLogger, getElementSerializer, setCacheEventLogger, setElementSerializerpublic static IndexedDiskCacheManager getInstance(IndexedDiskCacheAttributes 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 AuxiliaryCache getCache(java.lang.String cacheName)
cacheName - Name that will be used when creating attributes.public AuxiliaryCache getCache(IndexedDiskCacheAttributes cacheAttributes)
cacheAttributes - Attributes the cache should have.public int getCacheType()
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.