org.apache.jcs.auxiliary.remote
Class RemoteCacheNoWaitFacade
java.lang.Object
org.apache.jcs.auxiliary.AbstractAuxiliaryCache
org.apache.jcs.auxiliary.remote.AbstractRemoteCacheNoWaitFacade
org.apache.jcs.auxiliary.remote.RemoteCacheNoWaitFacade
- All Implemented Interfaces:
- java.io.Serializable, AuxiliaryCache, ICache, ICacheType
public class RemoteCacheNoWaitFacade
- extends AbstractRemoteCacheNoWaitFacade
Used to provide access to multiple services under nowait protection. Factory should construct
NoWaitFacade to give to the composite cache out of caches it constructs from the varies manager
to lateral services.
Typically, we only connect to one remote server per facade. We use a list of one
RemoteCacheNoWait.
- See Also:
- Serialized Form
Method Summary |
protected void |
failover(int i)
Begin the failover process if this is a local cache. |
Methods inherited from class org.apache.jcs.auxiliary.remote.AbstractRemoteCacheNoWaitFacade |
dispose, get, getAuxiliaryCacheAttributes, getCacheName, getCacheType, getCompositeCacheManager, getEventLoggingExtraInfo, getGroupKeys, getMatching, getMultiple, getRemoteCacheAttributes, getSize, getStatistics, getStats, getStatus, remove, removeAll, setCompositeCacheManager, setRemoteCacheAttributes, toString, update |
Methods inherited from class org.apache.jcs.auxiliary.AbstractAuxiliaryCache |
createICacheEvent, createICacheEvent, getCacheEventLogger, getElementSerializer, getKeyMatcher, logApplicationEvent, logError, logICacheEvent, setCacheEventLogger, setElementSerializer, setKeyMatcher |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RemoteCacheNoWaitFacade
public RemoteCacheNoWaitFacade(RemoteCacheNoWait[] noWaits,
RemoteCacheAttributes rca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
- Constructs with the given remote cache, and fires events to any listeners.
- Parameters:
noWaits
- rca
- cacheMgr
- cacheEventLogger
- elementSerializer
-
failover
protected void failover(int i)
- Begin the failover process if this is a local cache. Clustered remote caches do not failover.
- Parameters:
i
- The no wait in error.
Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.