Class RemoteHttpCacheAttributes
java.lang.Object
org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCacheAttributes
org.apache.commons.jcs3.auxiliary.remote.CommonRemoteCacheAttributes
org.apache.commons.jcs3.auxiliary.remote.RemoteCacheAttributes
org.apache.commons.jcs3.auxiliary.remote.http.client.RemoteHttpCacheAttributes
- All Implemented Interfaces:
Serializable,Cloneable,AuxiliaryCacheAttributes,ICommonRemoteCacheAttributes,IRemoteCacheAttributes
Http client specific settings.
- See Also:
-
Field Summary
FieldsFields inherited from interface org.apache.commons.jcs3.auxiliary.remote.behavior.ICommonRemoteCacheAttributes
DEFAULT_RMI_SOCKET_FACTORY_TIMEOUT_MILLISFields inherited from interface org.apache.commons.jcs3.auxiliary.remote.behavior.IRemoteCacheAttributes
DEFAULT_RECEIVE, DEFAULT_ZOMBIE_QUEUE_MAX_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintgetUrl()booleanbooleanbooleanvoidsetConnectionTimeoutMillis(int connectionTimeoutMillis) voidsetHttpVersion(String httpVersion) voidsetIncludeCacheNameAsParameter(boolean includeCacheNameInURL) voidsetIncludeKeysAndPatternsAsParameter(boolean includeKeysAndPatternsInURL) voidsetIncludeRequestTypeasAsParameter(boolean includeRequestTypeasAsParameter) voidsetMaxConnectionsPerHost(int maxConnectionsPerHost) voidsetRemoteHttpClientClassName(String remoteHttpClientClassName) voidsetSocketTimeoutMillis(int socketTimeoutMillis) voidtoString()Methods inherited from class org.apache.commons.jcs3.auxiliary.remote.RemoteCacheAttributes
getFailoverIndex, getFailovers, getFailoverServers, getGetTimeoutMillis, getLocalPort, getThreadPoolName, getZombieQueueMaxSize, isReceive, setFailoverIndex, setFailovers, setFailoverServers, setGetTimeoutMillis, setLocalPort, setReceive, setThreadPoolName, setZombieQueueMaxSizeMethods inherited from class org.apache.commons.jcs3.auxiliary.remote.CommonRemoteCacheAttributes
getClusterServers, getGetOnly, getRemoteLocation, getRemoteServiceName, getRemoteType, getRemoteTypeName, getRemoveUponRemotePut, getRmiSocketFactoryTimeoutMillis, isLocalClusterConsistency, setClusterServers, setGetOnly, setLocalClusterConsistency, setRemoteLocation, setRemoteLocation, setRemoteServiceName, setRemoteType, setRemoteTypeName, setRemoveUponRemotePut, setRmiSocketFactoryTimeoutMillisMethods inherited from class org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCacheAttributes
clone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setNameMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.commons.jcs3.auxiliary.AuxiliaryCacheAttributes
clone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setNameMethods inherited from interface org.apache.commons.jcs3.auxiliary.remote.behavior.ICommonRemoteCacheAttributes
getClusterServers, getGetOnly, getRemoteLocation, getRemoteServiceName, getRemoteType, getRemoteTypeName, getRemoveUponRemotePut, getRmiSocketFactoryTimeoutMillis, isLocalClusterConsistency, setClusterServers, setGetOnly, setLocalClusterConsistency, setRemoteLocation, setRemoteLocation, setRemoteServiceName, setRemoteType, setRemoteTypeName, setRemoveUponRemotePut, setRmiSocketFactoryTimeoutMillis
-
Field Details
-
DEFAULT_REMOTE_HTTP_CLIENT_CLASS_NAME
The default classname for the client.
-
-
Constructor Details
-
RemoteHttpCacheAttributes
public RemoteHttpCacheAttributes()
-
-
Method Details
-
setMaxConnectionsPerHost
- Parameters:
maxConnectionsPerHost- the maxConnectionsPerHost to set
-
getMaxConnectionsPerHost
- Returns:
- the maxConnectionsPerHost
-
setSocketTimeoutMillis
- Parameters:
socketTimeoutMillis- the socketTimeoutMillis to set
-
getSocketTimeoutMillis
- Returns:
- the socketTimeoutMillis
-
setHttpVersion
- Parameters:
httpVersion- the httpVersion to set
-
getHttpVersion
- Returns:
- the httpVersion
-
setConnectionTimeoutMillis
- Parameters:
connectionTimeoutMillis- the connectionTimeoutMillis to set
-
getConnectionTimeoutMillis
- Returns:
- the connectionTimeoutMillis
-
setIncludeCacheNameAsParameter
- Parameters:
includeCacheNameInURL- the includeCacheNameInURL to set
-
isIncludeCacheNameAsParameter
- Returns:
- the includeCacheNameInURL
-
setIncludeKeysAndPatternsAsParameter
- Parameters:
includeKeysAndPatternsInURL- the includeKeysAndPatternsInURL to set
-
isIncludeKeysAndPatternsAsParameter
- Returns:
- the includeKeysAndPatternsInURL
-
setIncludeRequestTypeasAsParameter
- Parameters:
includeRequestTypeasAsParameter- the includeRequestTypeasAsParameter to set
-
isIncludeRequestTypeasAsParameter
- Returns:
- the includeRequestTypeasAsParameter
-
setUrl
- Parameters:
url- the url to set
-
getUrl
- Returns:
- the url
-
setRemoteHttpClientClassName
- Parameters:
remoteHttpClientClassName- the remoteHttpClientClassName to set
-
getRemoteHttpClientClassName
- Returns:
- the remoteHttpClientClassName
-
toString
- Overrides:
toStringin classRemoteCacheAttributes- Returns:
- String details
-