Class RemoteCacheServerAttributes
java.lang.Object
org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCacheAttributes
org.apache.commons.jcs3.auxiliary.remote.CommonRemoteCacheAttributes
org.apache.commons.jcs3.auxiliary.remote.server.RemoteCacheServerAttributes
- All Implemented Interfaces:
- Serializable,- Cloneable,- AuxiliaryCacheAttributes,- ICommonRemoteCacheAttributes,- IRemoteCacheServerAttributes
public class RemoteCacheServerAttributes
extends CommonRemoteCacheAttributes
implements IRemoteCacheServerAttributes
These attributes are used to configure the remote cache server.
- See Also:
- 
Field SummaryFields inherited from interface org.apache.commons.jcs3.auxiliary.remote.behavior.ICommonRemoteCacheAttributesDEFAULT_RMI_SOCKET_FACTORY_TIMEOUT_MILLIS
- 
Constructor SummaryConstructorsConstructorDescriptionDefault constructor for the RemoteCacheAttributes object
- 
Method SummaryModifier and TypeMethodDescriptionGets the ConfigFileName attribute of the IRemoteCacheAttributes objectlongintGets the localPort attribute of the RemoteCacheAttributes objectbooleanShould gets from non-cluster clients be allowed to get from other remote auxiliaries.booleanDeprecated.Always true, to be removedbooleanShould we try to keep the registry alivevoidsetAllowClusterGet(boolean r) Should we try to get from other cluster servers if we don't find the items locally.voidSets the ConfigFileName attribute of the IRemoteCacheAttributes objectvoidsetRegistryKeepAliveDelayMillis(long registryKeepAliveDelayMillis) voidsetServicePort(int p) Sets the localPort attribute of the RemoteCacheAttributes objectvoidsetStartRegistry(boolean startRegistry) Deprecated.Always true, to be removedvoidsetUseRegistryKeepAlive(boolean useRegistryKeepAlive) Should we try to keep the registry alivetoString()Methods inherited from class org.apache.commons.jcs3.auxiliary.remote.CommonRemoteCacheAttributesgetClusterServers, 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.AbstractAuxiliaryCacheAttributesclone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setNameMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.commons.jcs3.auxiliary.AuxiliaryCacheAttributesclone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setNameMethods inherited from interface org.apache.commons.jcs3.auxiliary.remote.behavior.ICommonRemoteCacheAttributesgetClusterServers, getGetOnly, getRemoteLocation, getRemoteServiceName, getRemoteType, getRemoteTypeName, getRemoveUponRemotePut, getRmiSocketFactoryTimeoutMillis, isLocalClusterConsistency, setClusterServers, setGetOnly, setLocalClusterConsistency, setRemoteLocation, setRemoteLocation, setRemoteServiceName, setRemoteType, setRemoteTypeName, setRemoveUponRemotePut, setRmiSocketFactoryTimeoutMillis
- 
Constructor Details- 
RemoteCacheServerAttributespublic RemoteCacheServerAttributes()Default constructor for the RemoteCacheAttributes object
 
- 
- 
Method Details- 
getServicePortGets the localPort attribute of the RemoteCacheAttributes object- Specified by:
- getServicePortin interface- IRemoteCacheServerAttributes
- Returns:
- The localPort value
 
- 
setServicePortSets the localPort attribute of the RemoteCacheAttributes object- Specified by:
- setServicePortin interface- IRemoteCacheServerAttributes
- Parameters:
- p- The new localPort value
 
- 
isAllowClusterGetShould gets from non-cluster clients be allowed to get from other remote auxiliaries.- Specified by:
- isAllowClusterGetin interface- IRemoteCacheServerAttributes
- Returns:
- The localClusterConsistency value
 
- 
setAllowClusterGetShould we try to get from other cluster servers if we don't find the items locally.- Specified by:
- setAllowClusterGetin interface- IRemoteCacheServerAttributes
- Parameters:
- r- The new localClusterConsistency value
 
- 
getConfigFileNameGets the ConfigFileName attribute of the IRemoteCacheAttributes object- Specified by:
- getConfigFileNamein interface- IRemoteCacheServerAttributes
- Returns:
- The clusterServers value
 
- 
setConfigFileNameSets the ConfigFileName attribute of the IRemoteCacheAttributes object- Specified by:
- setConfigFileNamein interface- IRemoteCacheServerAttributes
- Parameters:
- s- The new clusterServers value
 
- 
setUseRegistryKeepAliveShould we try to keep the registry alive- Specified by:
- setUseRegistryKeepAlivein interface- IRemoteCacheServerAttributes
- Parameters:
- useRegistryKeepAlive- the useRegistryKeepAlive to set
 
- 
setStartRegistryDeprecated.Always true, to be removedShould we start the registry- Specified by:
- setStartRegistryin interface- IRemoteCacheServerAttributes
- Parameters:
- startRegistry- the startRegistry to set
 
- 
isStartRegistryDeprecated.Always true, to be removedShould we start the registry- Specified by:
- isStartRegistryin interface- IRemoteCacheServerAttributes
- Returns:
- the startRegistry
 
- 
isUseRegistryKeepAliveShould we try to keep the registry alive- Specified by:
- isUseRegistryKeepAlivein interface- IRemoteCacheServerAttributes
- Returns:
- the useRegistryKeepAlive
 
- 
setRegistryKeepAliveDelayMillis- Specified by:
- setRegistryKeepAliveDelayMillisin interface- IRemoteCacheServerAttributes
- Parameters:
- registryKeepAliveDelayMillis- the registryKeepAliveDelayMillis to set
 
- 
getRegistryKeepAliveDelayMillis- Specified by:
- getRegistryKeepAliveDelayMillisin interface- IRemoteCacheServerAttributes
- Returns:
- the registryKeepAliveDelayMillis
 
- 
toString- Overrides:
- toStringin class- CommonRemoteCacheAttributes
- Returns:
- String details
 
 
-