Class RemoteHttpCache<K,V> 
java.lang.Object
org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCache<K,V>
 
org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCacheEventLogging<K,V>
 
org.apache.commons.jcs3.auxiliary.remote.AbstractRemoteAuxiliaryCache<K,V>
 
org.apache.commons.jcs3.auxiliary.remote.http.client.RemoteHttpCache<K,V> 
- All Implemented Interfaces:
- AuxiliaryCache<K,,- V> - IRemoteCacheClient<K,,- V> - ICache<K,,- V> - ICacheType
This uses an http client as the service.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.commons.jcs3.engine.behavior.ICacheTypeICacheType.CacheType
- 
Field SummaryFields inherited from class org.apache.commons.jcs3.auxiliary.remote.AbstractRemoteAuxiliaryCachecacheNameFields inherited from interface org.apache.commons.jcs3.engine.behavior.ICacheNAME_COMPONENT_DELIMITER
- 
Constructor SummaryConstructorsConstructorDescriptionRemoteHttpCache(RemoteHttpCacheAttributes remoteHttpCacheAttributes, ICacheServiceNonLocal<K, V> remote, IRemoteCacheListener<K, V> listener, RemoteHttpCacheMonitor monitor) Constructor for the RemoteCache object.
- 
Method SummaryModifier and TypeMethodDescriptionGets the extra info for the event log.protected voidhandleException(Exception ex, String msg, String eventName) Nothing right now.Methods inherited from class org.apache.commons.jcs3.auxiliary.remote.AbstractRemoteAuxiliaryCachefixCache, getAuxiliaryCacheAttributes, getCacheName, getCacheType, getKeySet, getListener, getListenerId, getRemoteCacheAttributes, getRemoteCacheListener, getRemoteCacheService, getSize, getStatistics, getStats, getStatus, getUsingPool, processDispose, processGet, processGetMatching, processRemove, processRemoveAll, processUpdate, setListenerId, setRemoteCacheAttributes, setRemoteCacheListener, setRemoteCacheServiceMethods inherited from class org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCacheEventLoggingdispose, disposeWithEventLogging, get, getMatching, getMatchingWithEventLogging, getMultiple, getMultipleWithEventLogging, getWithEventLogging, remove, removeAll, removeAllWithEventLogging, removeWithEventLogging, update, updateWithEventLoggingMethods inherited from class org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCachecreateICacheEvent, createICacheEvent, getCacheEventLogger, getElementSerializer, getKeyMatcher, logApplicationEvent, logError, logICacheEvent, processGetMultiple, setCacheEventLogger, setElementSerializer, setKeyMatcherMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.commons.jcs3.auxiliary.AuxiliaryCachesetCacheEventLogger, setElementSerializerMethods inherited from interface org.apache.commons.jcs3.engine.behavior.ICachedispose, get, getMatching, getMultiple, remove, removeAll, setKeyMatcher, update
- 
Constructor Details- 
RemoteHttpCachepublic RemoteHttpCache(RemoteHttpCacheAttributes remoteHttpCacheAttributes, ICacheServiceNonLocal<K, V> remote, IRemoteCacheListener<K, V> listener, RemoteHttpCacheMonitor monitor) Constructor for the RemoteCache object. This object communicates with a remote cache server. One of these exists for each region. This also holds a reference to a listener. The same listener is used for all regions for one remote server. Holding a reference to the listener allows this object to know the listener id assigned by the remote cache.- Parameters:
- remoteHttpCacheAttributes-
- remote-
- listener-
- monitor- the cache monitor
 
 
- 
- 
Method Details- 
handleExceptionNothing right now. This should setup a zombie and initiate recovery.- Specified by:
- handleExceptionin class- AbstractRemoteAuxiliaryCache<K,- V> 
- Parameters:
- ex-
- msg-
- eventName-
- Throws:
- IOException
 
- 
getEventLoggingExtraInfoDescription copied from class:AbstractAuxiliaryCacheGets the extra info for the event log.- Specified by:
- getEventLoggingExtraInfoin class- AbstractAuxiliaryCache<K,- V> 
- Returns:
- url of service
 
- 
getRemoteHttpCacheAttributes- Returns:
- the remoteHttpCacheAttributes
 
 
-