|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | |
void |
dispose()
Prepares for shutdown. |
ICacheElement |
get(java.io.Serializable key)
Gets an item from the cache. |
java.lang.String |
getCacheName()
Returns the cache name. |
java.util.Set |
getGroupKeys(java.lang.String group)
Gets the set of keys of objects currently in the group |
int |
getSize()
Returns the current cache size. |
IStats |
getStatistics()
Returns the historical and statistical data for a region's auxiliary cache. |
int |
getStatus()
Returns the cache status. |
boolean |
remove(java.io.Serializable key)
Removes an item from the cache. |
void |
removeAll()
Removes all cached items from the cache. |
void |
update(ICacheElement ce)
Puts an item to the cache. |
Methods inherited from interface org.apache.jcs.engine.behavior.ICache |
getStats |
Methods inherited from interface org.apache.jcs.engine.behavior.ICacheType |
getCacheType |
Method Detail |
public void update(ICacheElement ce) throws java.io.IOException
update
in interface ICache
java.io.IOException
public ICacheElement get(java.io.Serializable key) throws java.io.IOException
get
in interface ICache
java.io.IOException
public boolean remove(java.io.Serializable key) throws java.io.IOException
remove
in interface ICache
java.io.IOException
public void removeAll() throws java.io.IOException
removeAll
in interface ICache
java.io.IOException
public void dispose() throws java.io.IOException
dispose
in interface ICache
java.io.IOException
public int getSize()
getSize
in interface ICache
public int getStatus()
getStatus
in interface ICache
public java.lang.String getCacheName()
getCacheName
in interface ICache
public java.util.Set getGroupKeys(java.lang.String group) throws java.io.IOException
group
-
java.io.IOException
public IStats getStatistics()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |