public class ZombieCacheWatch extends Object implements ICacheObserver, IZombie
Constructor and Description |
---|
ZombieCacheWatch() |
Modifier and Type | Method and Description |
---|---|
<K,V> void |
addCacheListener(ICacheListener<K,V> obj)
Adds a feature to the CacheListener attribute of the ZombieCacheWatch object
|
<K,V> void |
addCacheListener(String cacheName,
ICacheListener<K,V> obj)
Adds a feature to the CacheListener attribute of the ZombieCacheWatch object
|
<K,V> void |
removeCacheListener(ICacheListener<K,V> obj)
Unsubscribes from all caches.
|
<K,V> void |
removeCacheListener(String cacheName,
ICacheListener<K,V> obj)
Unsubscribes from the specified cache.
|
public ZombieCacheWatch()
public <K,V> void addCacheListener(String cacheName, ICacheListener<K,V> obj)
addCacheListener
in interface ICacheObserver
cacheName
- The feature to be added to the CacheListener attributeobj
- The feature to be added to the CacheListener attributepublic <K,V> void addCacheListener(ICacheListener<K,V> obj)
addCacheListener
in interface ICacheObserver
obj
- The feature to be added to the CacheListener attributepublic <K,V> void removeCacheListener(String cacheName, ICacheListener<K,V> obj)
ICacheObserver
removeCacheListener
in interface ICacheObserver
cacheName
- obj
- public <K,V> void removeCacheListener(ICacheListener<K,V> obj)
ICacheObserver
removeCacheListener
in interface ICacheObserver
obj
- Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.