org.apache.jcs.engine
Class ZombieCacheWatch

java.lang.Object
  extended by org.apache.jcs.engine.ZombieCacheWatch
All Implemented Interfaces:
ICacheObserver, IZombie
Direct Known Subclasses:
ZombieLateralCacheWatch, ZombieRemoteCacheWatch

public class ZombieCacheWatch
extends Object
implements ICacheObserver, IZombie

Zombie Observer.


Constructor Summary
ZombieCacheWatch()
           
 
Method Summary
<K extends Serializable,V extends Serializable>
void
addCacheListener(ICacheListener<K,V> obj)
          Adds a feature to the CacheListener attribute of the ZombieCacheWatch object
<K extends Serializable,V extends Serializable>
void
addCacheListener(String cacheName, ICacheListener<K,V> obj)
          Adds a feature to the CacheListener attribute of the ZombieCacheWatch object
<K extends Serializable,V extends Serializable>
void
removeCacheListener(ICacheListener<K,V> obj)
          Unsubscribes from all caches.
<K extends Serializable,V extends Serializable>
void
removeCacheListener(String cacheName, ICacheListener<K,V> obj)
          Unsubscribes from the specified cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZombieCacheWatch

public ZombieCacheWatch()
Method Detail

addCacheListener

public <K extends Serializable,V extends Serializable> void addCacheListener(String cacheName,
                                                                             ICacheListener<K,V> obj)
Adds a feature to the CacheListener attribute of the ZombieCacheWatch object

Specified by:
addCacheListener in interface ICacheObserver
Parameters:
cacheName - The feature to be added to the CacheListener attribute
obj - The feature to be added to the CacheListener attribute

addCacheListener

public <K extends Serializable,V extends Serializable> void addCacheListener(ICacheListener<K,V> obj)
Adds a feature to the CacheListener attribute of the ZombieCacheWatch object

Specified by:
addCacheListener in interface ICacheObserver
Parameters:
obj - The feature to be added to the CacheListener attribute

removeCacheListener

public <K extends Serializable,V extends Serializable> void removeCacheListener(String cacheName,
                                                                                ICacheListener<K,V> obj)
Description copied from interface: ICacheObserver
Unsubscribes from the specified cache.

Specified by:
removeCacheListener in interface ICacheObserver
Parameters:
cacheName -
obj -

removeCacheListener

public <K extends Serializable,V extends Serializable> void removeCacheListener(ICacheListener<K,V> obj)
Description copied from interface: ICacheObserver
Unsubscribes from all caches.

Specified by:
removeCacheListener in interface ICacheObserver
Parameters:
obj -


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.