org.apache.jcs.auxiliary.remote.http.server
Class RemoteHttpCacheServerAttributes

java.lang.Object
  extended by org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
      extended by org.apache.jcs.auxiliary.remote.http.server.RemoteHttpCacheServerAttributes
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, AuxiliaryCacheAttributes

public class RemoteHttpCacheServerAttributes
extends AbstractAuxiliaryCacheAttributes

Configuration for the RemoteHttpCacheServer. Most of these properties are used only by the service.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
cacheName, eventQueuePoolName, eventQueueType, name
 
Fields inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes
POOLED_QUEUE_TYPE, SINGLE_QUEUE_TYPE
 
Constructor Summary
RemoteHttpCacheServerAttributes()
           
 
Method Summary
 AuxiliaryCacheAttributes copy()
          clones
 boolean isAllowClusterGet()
          Should gets from non-cluster clients be allowed to get from other remote auxiliaries.
 boolean isLocalClusterConsistency()
          Should cluster updates be propagated to the locals
 void setAllowClusterGet(boolean r)
          Should we try to get from other cluster servers if we don't find the items locally.
 void setLocalClusterConsistency(boolean r)
          Should cluster updates be propagated to the locals
 java.lang.String toString()
           
 
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
 

Constructor Detail

RemoteHttpCacheServerAttributes

public RemoteHttpCacheServerAttributes()
Method Detail

copy

public AuxiliaryCacheAttributes copy()
clones

Returns:
AuxiliaryCacheAttributes clone

isLocalClusterConsistency

public boolean isLocalClusterConsistency()
Should cluster updates be propagated to the locals

Returns:
The localClusterConsistency value

setLocalClusterConsistency

public void setLocalClusterConsistency(boolean r)
Should cluster updates be propagated to the locals

Parameters:
r - The new localClusterConsistency value

isAllowClusterGet

public boolean isAllowClusterGet()
Should gets from non-cluster clients be allowed to get from other remote auxiliaries.

Returns:
The localClusterConsistency value

setAllowClusterGet

public void setAllowClusterGet(boolean r)
Should we try to get from other cluster servers if we don't find the items locally.

Parameters:
r - The new localClusterConsistency value

toString

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


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