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 ICacheService
item
- public ICacheElement get(java.lang.String cacheName, java.io.Serializable key)
ICacheService
get
in interface ICacheService
cacheName
- key
- public java.util.Map getMultiple(java.lang.String cacheName, java.util.Set keys)
getMultiple
in interface ICacheService
cacheName
- keys
- public java.util.Map getMatching(java.lang.String cacheName, java.lang.String pattern)
getMatching
in interface ICacheService
cacheName
- 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)
ICacheService
remove
in interface ICacheService
cacheName
- key
- public void removeAll(java.lang.String cacheName)
ICacheService
removeAll
in interface ICacheService
cacheName
- public void dispose(java.lang.String cacheName)
ICacheService
dispose
in interface ICacheService
cacheName
- public void release()
release
in interface ICacheService
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.