Class RemoteHttpCacheServerAttributes
java.lang.Object
org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCacheAttributes
org.apache.commons.jcs3.auxiliary.remote.http.server.RemoteHttpCacheServerAttributes
- All Implemented Interfaces:
Serializable
,Cloneable
,AuxiliaryCacheAttributes
Configuration for the RemoteHttpCacheServer. Most of these properties are used only by the
service.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Should gets from non-cluster clients be allowed to get from other remote auxiliaries.boolean
Should cluster updates be propagated to the localsvoid
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 localstoString()
Methods inherited from class org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCacheAttributes
clone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
-
Constructor Details
-
RemoteHttpCacheServerAttributes
public RemoteHttpCacheServerAttributes()
-
-
Method Details
-
isLocalClusterConsistency
Should cluster updates be propagated to the locals- Returns:
- The localClusterConsistency value
-
setLocalClusterConsistency
Should cluster updates be propagated to the locals- Parameters:
r
- The new localClusterConsistency value
-
isAllowClusterGet
Should gets from non-cluster clients be allowed to get from other remote auxiliaries.- Returns:
- The localClusterConsistency value
-
setAllowClusterGet
Should we try to get from other cluster servers if we don't find the items locally.- Parameters:
r
- The new localClusterConsistency value
-
toString
-