|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.engine.ZombieCacheService
public class ZombieCacheService
Zombie adapter for any cache service. balks at every call.
Constructor Summary | |
---|---|
ZombieCacheService()
|
Method Summary | |
---|---|
void |
dispose(java.lang.String cacheName)
Frees the specified cache. |
ICacheElement |
get(java.lang.String cacheName,
java.io.Serializable key)
Returns a cache bean from the specified cache; or null if the key does not exist. |
java.io.Serializable |
get(java.lang.String cacheName,
java.io.Serializable key,
boolean container)
Logs the get to debug, but always balks. |
void |
put(ICacheElement item)
|
void |
release()
Frees all caches. |
void |
remove(java.lang.String cacheName,
java.io.Serializable key)
Removes the given key from the specified cache. |
void |
removeAll(java.lang.String cacheName)
Remove all keys from the sepcified cache. |
void |
update(ICacheElement item)
Puts a cache item to the cache. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZombieCacheService()
Method Detail |
---|
public void put(ICacheElement item)
item
- public void update(ICacheElement item)
ICacheService
update
in interface ICacheService
public ICacheElement get(java.lang.String cacheName, java.io.Serializable key)
ICacheService
get
in interface ICacheService
public java.io.Serializable get(java.lang.String cacheName, java.io.Serializable key, boolean container)
cacheName
- key
- container
-
public void remove(java.lang.String cacheName, java.io.Serializable key)
ICacheService
remove
in interface ICacheService
public void removeAll(java.lang.String cacheName)
ICacheService
removeAll
in interface ICacheService
public void dispose(java.lang.String cacheName)
ICacheService
dispose
in interface ICacheService
public void release()
ICacheService
release
in interface ICacheService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |