org.apache.jcs.auxiliary.lateral
Class ZombieLateralCacheService

java.lang.Object
  extended byorg.apache.jcs.engine.ZombieCacheService
      extended byorg.apache.jcs.auxiliary.lateral.ZombieLateralCacheService
All Implemented Interfaces:
ICacheService, ILateralCacheService, IZombie

public class ZombieLateralCacheService
extends ZombieCacheService
implements ILateralCacheService

The ZombieLateralCacheService is used a facade when the lateral is not available. It balks when the lateral is in error. When lateral service is restored, this is replaced by a live facade.


Constructor Summary
ZombieLateralCacheService()
           
 
Method Summary
 java.util.Set getGroupKeys(java.lang.String cacheName, java.lang.String groupName)
           
 void remove(java.lang.String cacheName, java.io.Serializable key, long listenerId)
          Removes the given key from the specified cache.
 void removeAll(java.lang.String cacheName, long listenerId)
          Remove all keys from the sepcified cache.
 void update(ICacheElement item, long listenerId)
          Puts a cache item to the cache.
 
Methods inherited from class org.apache.jcs.engine.ZombieCacheService
dispose, get, get, put, release, remove, removeAll, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jcs.engine.behavior.ICacheService
dispose, get, release, remove, removeAll, update
 

Constructor Detail

ZombieLateralCacheService

public ZombieLateralCacheService()
Method Detail

update

public void update(ICacheElement item,
                   long listenerId)
Description copied from interface: ILateralCacheService
Puts a cache item to the cache.

Specified by:
update in interface ILateralCacheService
Parameters:
item -
listenerId -

remove

public void remove(java.lang.String cacheName,
                   java.io.Serializable key,
                   long listenerId)
Description copied from interface: ILateralCacheService
Removes the given key from the specified cache.

Specified by:
remove in interface ILateralCacheService
Parameters:
cacheName -
key -
listenerId -

removeAll

public void removeAll(java.lang.String cacheName,
                      long listenerId)
Description copied from interface: ILateralCacheService
Remove all keys from the sepcified cache.

Specified by:
removeAll in interface ILateralCacheService
Parameters:
cacheName -
listenerId -

getGroupKeys

public java.util.Set getGroupKeys(java.lang.String cacheName,
                                  java.lang.String groupName)
Specified by:
getGroupKeys in interface ILateralCacheService
Parameters:
cacheName -
groupName -
Returns:


Copyright © 2002-2007 Apache Software Foundation. All Rights Reserved.