org.apache.jcs.auxiliary.lateral
Class ZombieLateralCacheService

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

public class ZombieLateralCacheService
extends ZombieCacheService
implements ILateralCacheService

The ZombieLateralCacheService is used as 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)
          Balks
 java.util.Map getMatching(java.lang.String cacheName, java.lang.String pattern)
          The service does not get via this method, so this return empty.
 void remove(java.lang.String cacheName, java.io.Serializable key, long listenerId)
          Balks
 void removeAll(java.lang.String cacheName, long listenerId)
          Balks
 void update(ICacheElement item, long listenerId)
          Balks
 
Methods inherited from class org.apache.jcs.engine.ZombieCacheService
dispose, get, get, getMultiple, 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, getMultiple, release, remove, removeAll, update
 

Constructor Detail

ZombieLateralCacheService

public ZombieLateralCacheService()
Method Detail

update

public void update(ICacheElement item,
                   long listenerId)
Balks

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

remove

public void remove(java.lang.String cacheName,
                   java.io.Serializable key,
                   long listenerId)
Balks

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

removeAll

public void removeAll(java.lang.String cacheName,
                      long listenerId)
Balks

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

getGroupKeys

public java.util.Set getGroupKeys(java.lang.String cacheName,
                                  java.lang.String groupName)
Balks

Specified by:
getGroupKeys in interface ILateralCacheService
Parameters:
cacheName -
groupName -
Returns:
empty set

getMatching

public java.util.Map getMatching(java.lang.String cacheName,
                                 java.lang.String pattern)
The service does not get via this method, so this return empty.

Specified by:
getMatching in interface ILateralCacheService
Specified by:
getMatching in interface ICacheService
Overrides:
getMatching in class ZombieCacheService
Parameters:
cacheName -
pattern -
Returns:
Collections.EMPTY_MAP.


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