org.apache.jcs.auxiliary.remote
Class ZombieRemoteCacheService

java.lang.Object
  extended by org.apache.jcs.engine.ZombieCacheService
      extended by org.apache.jcs.engine.ZombieCacheServiceNonLocal
          extended by org.apache.jcs.auxiliary.remote.ZombieRemoteCacheService
All Implemented Interfaces:
Remote, IRemoteCacheService, ICacheService, ICacheServiceNonLocal, IZombie

public class ZombieRemoteCacheService
extends ZombieCacheServiceNonLocal
implements IRemoteCacheService

Zombie adapter for the remote cache service. It just balks if there is no queue configured.

If a queue is configured, then events will be added to the queue. The idea is that when proper operation is restored, the remote cache will walk the queue. The queue must be bounded so it does not eat memory.

Much of this was reusable, so I moved it to engine.


Constructor Summary
ZombieRemoteCacheService()
          We shouldn't be using this.
ZombieRemoteCacheService(int maxQueueSize)
          Sets the maximum number of items that will be allowed on the queue.
 
Method Summary
 
Methods inherited from class org.apache.jcs.engine.ZombieCacheServiceNonLocal
get, getGroupKeys, getMatching, getMultiple, getQueueSize, propagateEvents, remove, removeAll, update
 
Methods inherited from class org.apache.jcs.engine.ZombieCacheService
dispose, get, get, getMatching, 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.ICacheServiceNonLocal
get, getGroupKeys, getMatching, getMultiple, remove, removeAll, update
 
Methods inherited from interface org.apache.jcs.engine.behavior.ICacheService
dispose, get, getMatching, getMultiple, release, remove, removeAll, update
 

Constructor Detail

ZombieRemoteCacheService

public ZombieRemoteCacheService()
We shouldn't be using this. It's only called on certain startup errors.


ZombieRemoteCacheService

public ZombieRemoteCacheService(int maxQueueSize)
Sets the maximum number of items that will be allowed on the queue.

Parameters:
maxQueueSize -


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