Interface ICommonRemoteCacheAttributes
- All Superinterfaces:
- AuxiliaryCacheAttributes,- Cloneable,- Serializable
- All Known Subinterfaces:
- IRemoteCacheAttributes,- IRemoteCacheServerAttributes
- All Known Implementing Classes:
- CommonRemoteCacheAttributes,- RemoteCacheAttributes,- RemoteCacheServerAttributes,- RemoteHttpCacheAttributes
This specifies what a remote cache configuration object should look like.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intThe default timeout for the custom RMI socket factory
- 
Method SummaryModifier and TypeMethodDescriptionGets the clusterServers attribute of the IRemoteCacheAttributes objectbooleanGets the getOnly attribute of the IRemoteCacheAttributes objectGets the location attribute of the RemoteCacheAttributes object.Gets the remoteServiceName attribute of the IRemoteCacheAttributes objectGets the remoteType attribute of the IRemoteCacheAttributes objectGets the remoteTypeName attribute of the IRemoteCacheAttributes objectbooleanGets the removeUponRemotePut attribute of the IRemoteCacheAttributes objectintThis sets a general timeout on the rmi socket factory.booleanShould cluster updates be propagated to the localsvoidSets the clusterServers attribute of the IRemoteCacheAttributes objectvoidsetGetOnly(boolean r) Sets the getOnly attribute of the IRemoteCacheAttributes objectvoidsetLocalClusterConsistency(boolean r) Should cluster updates be propagated to the localsvoidsetRemoteLocation(String host, int port) Sets the location attribute of the RemoteCacheAttributes object.voidsetRemoteLocation(RemoteLocation location) Sets the location attribute of the RemoteCacheAttributes object.voidSets the remoteServiceName attribute of the IRemoteCacheAttributes objectvoidSets the remoteType attribute of the IRemoteCacheAttributes objectvoidSets the remoteTypeName attribute of the IRemoteCacheAttributes objectvoidsetRemoveUponRemotePut(boolean r) Sets the removeUponRemotePut attribute of the IRemoteCacheAttributes objectvoidsetRmiSocketFactoryTimeoutMillis(int rmiSocketFactoryTimeoutMillis) This sets a general timeout on the RMI socket factory.Methods inherited from interface org.apache.commons.jcs3.auxiliary.AuxiliaryCacheAttributesclone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
- 
Field Details- 
DEFAULT_RMI_SOCKET_FACTORY_TIMEOUT_MILLISThe default timeout for the custom RMI socket factory- See Also:
 
 
- 
- 
Method Details- 
getRemoteTypeNameGets the remoteTypeName attribute of the IRemoteCacheAttributes object- Returns:
- The remoteTypeName value
 
- 
setRemoteTypeNameSets the remoteTypeName attribute of the IRemoteCacheAttributes object- Parameters:
- s- The new remoteTypeName value
 
- 
getRemoteTypeGets the remoteType attribute of the IRemoteCacheAttributes object- Returns:
- The remoteType value
 
- 
setRemoteTypeSets the remoteType attribute of the IRemoteCacheAttributes object- Parameters:
- p- The new remoteType value
 
- 
getRemoteServiceNameGets the remoteServiceName attribute of the IRemoteCacheAttributes object- Returns:
- The remoteServiceName value
 
- 
setRemoteServiceNameSets the remoteServiceName attribute of the IRemoteCacheAttributes object- Parameters:
- s- The new remoteServiceName value
 
- 
setRemoteLocationSets the location attribute of the RemoteCacheAttributes object.- Parameters:
- location- The new location value
 
- 
setRemoteLocationSets the location attribute of the RemoteCacheAttributes object.- Parameters:
- host- The new remoteHost value
- port- The new remotePort value
 
- 
getRemoteLocationGets the location attribute of the RemoteCacheAttributes object.- Returns:
- The remote location value
 
- 
getClusterServersGets the clusterServers attribute of the IRemoteCacheAttributes object- Returns:
- The clusterServers value
 
- 
setClusterServersSets the clusterServers attribute of the IRemoteCacheAttributes object- Parameters:
- s- The new clusterServers value
 
- 
getRemoveUponRemotePutboolean getRemoveUponRemotePut()Gets the removeUponRemotePut attribute of the IRemoteCacheAttributes object- Returns:
- The removeUponRemotePut value
 
- 
setRemoveUponRemotePutSets the removeUponRemotePut attribute of the IRemoteCacheAttributes object- Parameters:
- r- The new removeUponRemotePut value
 
- 
getGetOnlyboolean getGetOnly()Gets the getOnly attribute of the IRemoteCacheAttributes object- Returns:
- The getOnly value
 
- 
setGetOnlySets the getOnly attribute of the IRemoteCacheAttributes object- Parameters:
- r- The new getOnly value
 
- 
isLocalClusterConsistencyboolean isLocalClusterConsistency()Should cluster updates be propagated to the locals- Returns:
- The localClusterConsistency value
 
- 
setLocalClusterConsistencyShould cluster updates be propagated to the locals- Parameters:
- r- The new localClusterConsistency value
 
- 
getRmiSocketFactoryTimeoutMillisThis sets a general timeout on the rmi socket factory. By default the socket factory will block forever.We have a default setting. The default rmi behavior should never be used. - Returns:
- int milliseconds
 
- 
setRmiSocketFactoryTimeoutMillisThis sets a general timeout on the RMI socket factory. By default the socket factory will block forever.- Parameters:
- rmiSocketFactoryTimeoutMillis-
 
 
-