org.apache.jcs.auxiliary.remote.http.client
Class RemoteHttpCacheAttributes

java.lang.Object
  extended by org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
      extended by org.apache.jcs.auxiliary.remote.RemoteCacheAttributes
          extended by org.apache.jcs.auxiliary.remote.http.client.RemoteHttpCacheAttributes
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, AuxiliaryCacheAttributes, IRemoteCacheAttributes

public class RemoteHttpCacheAttributes
extends RemoteCacheAttributes

Http client specific settings.

See Also:
Serialized Form

Field Summary
static java.lang.String DEFAULT_REMOTE_HTTP_CLIENT_CLASS_NAME
          The default classname for the client.
 
Fields inherited from class org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
cacheName, eventQueuePoolName, eventQueueType, name
 
Fields inherited from interface org.apache.jcs.auxiliary.remote.behavior.IRemoteCacheAttributes
CLUSTER, DEFAULT_RECEIVE, DEFAULT_RMI_SOCKET_FACTORY_TIMEOUT_MILLIS, DEFAULT_ZOMBIE_QUEUE_MAX_SIZE, LOCAL
 
Fields inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes
POOLED_QUEUE_TYPE, SINGLE_QUEUE_TYPE
 
Constructor Summary
RemoteHttpCacheAttributes()
           
 
Method Summary
 int getConnectionTimeoutMillis()
           
 java.lang.String getHttpVersion()
           
 int getMaxConnectionsPerHost()
           
 java.lang.String getRemoteHttpClientClassName()
           
 int getSocketTimeoutMillis()
           
 java.lang.String getUrl()
           
 boolean isIncludeCacheNameAsParameter()
           
 boolean isIncludeKeysAndPatternsAsParameter()
           
 boolean isIncludeRequestTypeasAsParameter()
           
 void setConnectionTimeoutMillis(int connectionTimeoutMillis)
           
 void setHttpVersion(java.lang.String httpVersion)
           
 void setIncludeCacheNameAsParameter(boolean includeCacheNameInURL)
           
 void setIncludeKeysAndPatternsAsParameter(boolean includeKeysAndPatternsInURL)
           
 void setIncludeRequestTypeasAsParameter(boolean includeRequestTypeasAsParameter)
           
 void setMaxConnectionsPerHost(int maxConnectionsPerHost)
           
 void setRemoteHttpClientClassName(java.lang.String remoteHttpClientClassName)
           
 void setSocketTimeoutMillis(int socketTimeoutMillis)
           
 void setUrl(java.lang.String url)
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.jcs.auxiliary.remote.RemoteCacheAttributes
copy, getClusterServers, getFailoverIndex, getFailovers, getFailoverServers, getGetOnly, getGetTimeoutMillis, getLocalClusterConsistency, getLocalPort, getRemoteHost, getRemotePort, getRemoteServiceName, getRemoteType, getRemoteTypeName, getRemoveUponRemotePut, getRmiSocketFactoryTimeoutMillis, getThreadPoolName, getZombieQueueMaxSize, isReceive, setClusterServers, setFailoverIndex, setFailovers, setFailoverServers, setGetOnly, setGetTimeoutMillis, setLocalClusterConsistency, setLocalPort, setReceive, setRemoteHost, setRemotePort, setRemoteServiceName, setRemoteType, setRemoteTypeName, setRemoveUponRemotePut, setRmiSocketFactoryTimeoutMillis, setThreadPoolName, setZombieQueueMaxSize
 
Methods inherited from class org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes
getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
 

Field Detail

DEFAULT_REMOTE_HTTP_CLIENT_CLASS_NAME

public static final java.lang.String DEFAULT_REMOTE_HTTP_CLIENT_CLASS_NAME
The default classname for the client.

Constructor Detail

RemoteHttpCacheAttributes

public RemoteHttpCacheAttributes()
Method Detail

setMaxConnectionsPerHost

public void setMaxConnectionsPerHost(int maxConnectionsPerHost)
Parameters:
maxConnectionsPerHost - the maxConnectionsPerHost to set

getMaxConnectionsPerHost

public int getMaxConnectionsPerHost()
Returns:
the maxConnectionsPerHost

setSocketTimeoutMillis

public void setSocketTimeoutMillis(int socketTimeoutMillis)
Parameters:
socketTimeoutMillis - the socketTimeoutMillis to set

getSocketTimeoutMillis

public int getSocketTimeoutMillis()
Returns:
the socketTimeoutMillis

setHttpVersion

public void setHttpVersion(java.lang.String httpVersion)
Parameters:
httpVersion - the httpVersion to set

getHttpVersion

public java.lang.String getHttpVersion()
Returns:
the httpVersion

setConnectionTimeoutMillis

public void setConnectionTimeoutMillis(int connectionTimeoutMillis)
Parameters:
connectionTimeoutMillis - the connectionTimeoutMillis to set

getConnectionTimeoutMillis

public int getConnectionTimeoutMillis()
Returns:
the connectionTimeoutMillis

setIncludeCacheNameAsParameter

public void setIncludeCacheNameAsParameter(boolean includeCacheNameInURL)
Parameters:
includeCacheNameInURL - the includeCacheNameInURL to set

isIncludeCacheNameAsParameter

public boolean isIncludeCacheNameAsParameter()
Returns:
the includeCacheNameInURL

setIncludeKeysAndPatternsAsParameter

public void setIncludeKeysAndPatternsAsParameter(boolean includeKeysAndPatternsInURL)
Parameters:
includeKeysAndPatternsInURL - the includeKeysAndPatternsInURL to set

isIncludeKeysAndPatternsAsParameter

public boolean isIncludeKeysAndPatternsAsParameter()
Returns:
the includeKeysAndPatternsInURL

setIncludeRequestTypeasAsParameter

public void setIncludeRequestTypeasAsParameter(boolean includeRequestTypeasAsParameter)
Parameters:
includeRequestTypeasAsParameter - the includeRequestTypeasAsParameter to set

isIncludeRequestTypeasAsParameter

public boolean isIncludeRequestTypeasAsParameter()
Returns:
the includeRequestTypeasAsParameter

setUrl

public void setUrl(java.lang.String url)
Parameters:
url - the url to set

getUrl

public java.lang.String getUrl()
Returns:
the url

setRemoteHttpClientClassName

public void setRemoteHttpClientClassName(java.lang.String remoteHttpClientClassName)
Parameters:
remoteHttpClientClassName - the remoteHttpClientClassName to set

getRemoteHttpClientClassName

public java.lang.String getRemoteHttpClientClassName()
Returns:
the remoteHttpClientClassName

toString

public java.lang.String toString()
Overrides:
toString in class RemoteCacheAttributes
Returns:
String details


Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.