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_MILLIS
Fields 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 TypeMethodDescriptionint
int
int
getUrl()
boolean
boolean
boolean
void
setConnectionTimeoutMillis
(int connectionTimeoutMillis) void
setHttpVersion
(String httpVersion) void
setIncludeCacheNameAsParameter
(boolean includeCacheNameInURL) void
setIncludeKeysAndPatternsAsParameter
(boolean includeKeysAndPatternsInURL) void
setIncludeRequestTypeasAsParameter
(boolean includeRequestTypeasAsParameter) void
setMaxConnectionsPerHost
(int maxConnectionsPerHost) void
setRemoteHttpClientClassName
(String remoteHttpClientClassName) void
setSocketTimeoutMillis
(int socketTimeoutMillis) void
toString()
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, setZombieQueueMaxSize
Methods 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, setRmiSocketFactoryTimeoutMillis
Methods inherited from class org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCacheAttributes
clone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.commons.jcs3.auxiliary.AuxiliaryCacheAttributes
clone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
Methods 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:
toString
in classRemoteCacheAttributes
- Returns:
- String details
-