Interface IRemoteCacheClient<K,V> 
- All Superinterfaces:
- AuxiliaryCache<K,,- V> - ICache<K,,- V> - ICacheType
- All Known Implementing Classes:
- AbstractRemoteAuxiliaryCache,- RemoteCache,- RemoteHttpCache
This defines the behavior expected of a remote cache client. This extends Auxiliary cache which
 in turn extends ICache.
 
I'd like generalize this a bit.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.commons.jcs3.engine.behavior.ICacheTypeICacheType.CacheType
- 
Field SummaryFields inherited from interface org.apache.commons.jcs3.engine.behavior.ICacheNAME_COMPONENT_DELIMITER
- 
Method SummaryModifier and TypeMethodDescriptionvoidfixCache(ICacheServiceNonLocal<?, ?> remote) Replaces the current remote cache service handle with the given handle.This returns the listener associated with this remote cache.longGets the listenerId attribute of the RemoteCacheListener object.Methods inherited from interface org.apache.commons.jcs3.auxiliary.AuxiliaryCachegetAuxiliaryCacheAttributes, getKeySet, getStatistics, setCacheEventLogger, setElementSerializerMethods inherited from interface org.apache.commons.jcs3.engine.behavior.ICachedispose, get, getCacheName, getMatching, getMultiple, getSize, getStats, getStatus, remove, removeAll, setKeyMatcher, updateMethods inherited from interface org.apache.commons.jcs3.engine.behavior.ICacheTypegetCacheType
- 
Method Details- 
fixCacheReplaces the current remote cache service handle with the given handle. If the current remote is a Zombie, the propagate the events that may be queued to the restored service.- Parameters:
- remote- ICacheServiceNonLocal -- the remote server or proxy to the remote server
 
- 
getListenerIdlong getListenerId()Gets the listenerId attribute of the RemoteCacheListener object.All requests to the remote cache must include a listener id. This allows the server to avoid sending updates the listener associated with this client. - Returns:
- The listenerId value
 
- 
getListenerThis returns the listener associated with this remote cache. TODO we should try to get this out of the interface.- Returns:
- IRemoteCacheListener
 
 
-