public interface AuxiliaryCacheFactory
Modifier and Type | Method and Description |
---|---|
<K,V> AuxiliaryCache<K,V> |
createCache(AuxiliaryCacheAttributes attr,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Creates an auxiliary using the supplied attributes.
|
void |
dispose()
Dispose of this factory, clean up shared resources
|
String |
getName()
Gets the name attribute of the AuxiliaryCacheFactory object
|
void |
initialize()
Initialize this factory
|
void |
setName(String s)
Sets the name attribute of the AuxiliaryCacheFactory object
|
<K,V> AuxiliaryCache<K,V> createCache(AuxiliaryCacheAttributes attr, ICompositeCacheManager cacheMgr, ICacheEventLogger cacheEventLogger, IElementSerializer elementSerializer) throws Exception
attr
- 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
- Exception
- if cache instance could not be createdvoid initialize()
void dispose()
void setName(String s)
s
- The new name valueCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.