|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuxiliaryCache
Tag interface for auxiliary caches. Currently this provides no additional methods over what is in ICache, but I anticipate that will change. For example, there will be a mechanism for determining the type (disk/lateral/remote) of the auxiliary here -- and the existing getCacheType will be removed from ICache.
Field Summary |
---|
Fields inherited from interface org.apache.jcs.engine.behavior.ICacheType |
---|
CACHE_HUB, DISK_CACHE, LATERAL_CACHE, REMOTE_CACHE |
Method Summary | |
---|---|
AuxiliaryCacheAttributes |
getAuxiliaryCacheAttributes()
This returns the generic attributes for an auxiliary cache. |
Set |
getGroupKeys(String group)
Gets the set of keys of objects currently in the group |
IStats |
getStatistics()
|
void |
setCacheEventLogger(ICacheEventLogger cacheEventLogger)
Every Auxiliary must allow for the use of an event logger. |
void |
setElementSerializer(IElementSerializer elementSerializer)
Allows you to inject a custom serializer. |
Methods inherited from interface org.apache.jcs.engine.behavior.ICache |
---|
dispose, get, getCacheName, getMatching, getMultiple, getSize, getStats, getStatus, remove, removeAll, setKeyMatcher, update |
Methods inherited from interface org.apache.jcs.engine.behavior.ICacheType |
---|
getCacheType |
Method Detail |
---|
Set getGroupKeys(String group) throws IOException
group
-
IOException
IStats getStatistics()
AuxiliaryCacheAttributes getAuxiliaryCacheAttributes()
void setElementSerializer(IElementSerializer elementSerializer)
elementSerializer
- void setCacheEventLogger(ICacheEventLogger cacheEventLogger)
cacheEventLogger
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |