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
Constructors -
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:
addCacheListenerin 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:
addCacheListenerin interfaceICacheObserver- Parameters:
obj- The feature to be added to the CacheListener attribute
-
removeCacheListener
Description copied from interface:ICacheObserverUnsubscribes from the specified cache.- Specified by:
removeCacheListenerin interfaceICacheObserver- Parameters:
cacheName-obj-
-
removeCacheListener
Description copied from interface:ICacheObserverUnsubscribes from all caches.- Specified by:
removeCacheListenerin interfaceICacheObserver- Parameters:
obj-
-