Package org.apache.commons.jcs3.engine
Class ZombieCacheWatch
java.lang.Object
org.apache.commons.jcs3.engine.ZombieCacheWatch
- All Implemented Interfaces:
Remote
,ICacheObserver
,IZombie
Zombie Observer.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<K,
V> void addCacheListener
(String cacheName, ICacheListener<K, V> obj) Adds a feature to the CacheListener attribute of the ZombieCacheWatch object<K,
V> void addCacheListener
(ICacheListener<K, V> obj) Adds a feature to the CacheListener attribute of the ZombieCacheWatch object<K,
V> void removeCacheListener
(String cacheName, ICacheListener<K, V> obj) Unsubscribes from the specified cache.<K,
V> void removeCacheListener
(ICacheListener<K, V> obj) Unsubscribes from all caches.
-
Constructor Details
-
ZombieCacheWatch
public ZombieCacheWatch()
-
-
Method Details
-
addCacheListener
Adds a feature to the CacheListener attribute of the ZombieCacheWatch object- Specified by:
addCacheListener
in interfaceICacheObserver
- Parameters:
cacheName
- The feature to be added to the CacheListener attributeobj
- The feature to be added to the CacheListener attribute
-
addCacheListener
Adds a feature to the CacheListener attribute of the ZombieCacheWatch object- Specified by:
addCacheListener
in interfaceICacheObserver
- Parameters:
obj
- The feature to be added to the CacheListener attribute
-
removeCacheListener
Description copied from interface:ICacheObserver
Unsubscribes from the specified cache.- Specified by:
removeCacheListener
in interfaceICacheObserver
- Parameters:
cacheName
-obj
-
-
removeCacheListener
Description copied from interface:ICacheObserver
Unsubscribes from all caches.- Specified by:
removeCacheListener
in interfaceICacheObserver
- Parameters:
obj
-
-