Interface IRemoteCacheServerAttributes
- All Superinterfaces:
- AuxiliaryCacheAttributes,- Cloneable,- ICommonRemoteCacheAttributes,- Serializable
- All Known Implementing Classes:
- RemoteCacheServerAttributes
This defines the minimal behavior for the objects that are used to configure
 the remote cache server.
- 
Field SummaryFields inherited from interface org.apache.commons.jcs3.auxiliary.remote.behavior.ICommonRemoteCacheAttributesDEFAULT_RMI_SOCKET_FACTORY_TIMEOUT_MILLIS
- 
Method SummaryModifier and TypeMethodDescriptionGets the ConfigFileName attribute of the IRemoteCacheAttributes object.longintGets the localPort attribute of the IRemoteCacheAttributes object.booleanShould we try to get remotely when the request does not come in from a cluster.booleanDeprecated.Always true, to be removedbooleanShould we try to keep the registry alivevoidsetAllowClusterGet(boolean r) Should cluster updates be propagated to the locals.voidSets the ConfigFileName attribute of the IRemoteCacheAttributes object.voidsetRegistryKeepAliveDelayMillis(long registryKeepAliveDelayMillis) voidsetServicePort(int p) Sets the localPort attribute of the IRemoteCacheAttributes object.voidsetStartRegistry(boolean startRegistry) Deprecated.Always true, to be removedvoidsetUseRegistryKeepAlive(boolean useRegistryKeepAlive) Should we try to keep the registry aliveMethods 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
- 
Method Details- 
getServicePortint getServicePort()Gets the localPort attribute of the IRemoteCacheAttributes object.- Returns:
- The localPort value
 
- 
setServicePortSets the localPort attribute of the IRemoteCacheAttributes object.- Parameters:
- p- The new localPort value
 
- 
isAllowClusterGetboolean isAllowClusterGet()Should we try to get remotely when the request does not come in from a cluster. If local L1 asks remote server R1 for element A and R1 doesn't have it, should R1 look remotely? The difference is between a local and a remote update. The local update stays local. Normal updates, removes, etc, stay local when they come from a client. If this is set to true, then they can go remote.- Returns:
- The localClusterConsistency value
 
- 
setAllowClusterGetShould cluster updates be propagated to the locals.- Parameters:
- r- The new localClusterConsistency value
 
- 
getConfigFileNameGets the ConfigFileName attribute of the IRemoteCacheAttributes object.- Returns:
- The configuration file name
 
- 
setConfigFileNameSets the ConfigFileName attribute of the IRemoteCacheAttributes object.- Parameters:
- s- The new configuration file name
 
- 
setUseRegistryKeepAliveShould we try to keep the registry alive- Parameters:
- useRegistryKeepAlive- the useRegistryKeepAlive to set
 
- 
setStartRegistryDeprecated.Always true, to be removedShould we start the registry- Parameters:
- startRegistry- the startRegistry to set
 
- 
isStartRegistryDeprecated.Always true, to be removedShould we start the registry- Returns:
- the startRegistry
 
- 
isUseRegistryKeepAliveboolean isUseRegistryKeepAlive()Should we try to keep the registry alive- Returns:
- the useRegistryKeepAlive
 
- 
setRegistryKeepAliveDelayMillis- Parameters:
- registryKeepAliveDelayMillis- the registryKeepAliveDelayMillis to set
 
- 
getRegistryKeepAliveDelayMillis- Returns:
- the registryKeepAliveDelayMillis
 
 
-