|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuxiliaryCacheFactory
All auxiliary caches must have a factory that the cache configurator can use to create instances.
| Method Summary | ||
|---|---|---|
|
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 |
|
| Method Detail |
|---|
<K extends Serializable,V extends Serializable> 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||