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.
|
String |
getName()
Gets the name attribute of the AuxiliaryCacheFactory object
|
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)
attr
- cacheMgr
- This allows auxiliaries to reference the manager without assuming that it is
a singleton. This will allow JCS to be a nonsingleton. Also, it makes it easier to
test.cacheEventLogger
- elementSerializer
- void setName(String s)
s
- The new name valueString getName()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.