public class ZombieCacheService extends java.lang.Object implements ICacheService, IZombie
| Constructor and Description |
|---|
ZombieCacheService() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.util.Map |
getMatching(java.lang.String cacheName,
java.lang.String pattern)
Returns an empty map.
|
java.util.Map |
getMultiple(java.lang.String cacheName,
java.util.Set keys)
Returns an empty map.
|
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)
Does nothing.
|
public void put(ICacheElement item)
item - public void update(ICacheElement item)
update in interface ICacheServiceitem - public ICacheElement get(java.lang.String cacheName, java.io.Serializable key)
ICacheServiceget in interface ICacheServicecacheName - key - public java.util.Map getMultiple(java.lang.String cacheName,
java.util.Set keys)
getMultiple in interface ICacheServicecacheName - keys - public java.util.Map getMatching(java.lang.String cacheName,
java.lang.String pattern)
getMatching in interface ICacheServicecacheName - pattern - 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)
ICacheServiceremove in interface ICacheServicecacheName - key - public void removeAll(java.lang.String cacheName)
ICacheServiceremoveAll in interface ICacheServicecacheName - public void dispose(java.lang.String cacheName)
ICacheServicedispose in interface ICacheServicecacheName - public void release()
release in interface ICacheServiceCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.