|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuxiliaryCache<K extends Serializable,V extends Serializable>
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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.jcs.engine.behavior.ICacheType |
|---|
ICacheType.CacheType |
| Method Summary | |
|---|---|
AuxiliaryCacheAttributes |
getAuxiliaryCacheAttributes()
This returns the generic attributes for an auxiliary cache. |
Set<K> |
getGroupKeys(String group)
Gets the set of keys of objects currently in the group |
Set<String> |
getGroupNames()
Gets the set of group names currently in the cache |
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<K> getGroupKeys(String group)
throws IOException
group -
IOException
Set<String> getGroupNames()
throws IOException
IOExceptionIStats 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 | |||||||||