Class CommonRemoteCacheAttributes
java.lang.Object
org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCacheAttributes
org.apache.commons.jcs3.auxiliary.remote.CommonRemoteCacheAttributes
- All Implemented Interfaces:
- Serializable,- Cloneable,- AuxiliaryCacheAttributes,- ICommonRemoteCacheAttributes
- Direct Known Subclasses:
- RemoteCacheAttributes,- RemoteCacheServerAttributes
public class CommonRemoteCacheAttributes
extends AbstractAuxiliaryCacheAttributes
implements ICommonRemoteCacheAttributes
Attributes common to remote cache client and 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 clusterServers attribute of the RemoteCacheAttributes object.booleanGets the getOnly attribute of the RemoteCacheAttributes object.Gets the location attribute of the RemoteCacheAttributes object.Gets the remoteServiceName attribute of the RemoteCacheAttributes object.Gets the remoteType attribute of the RemoteCacheAttributes object.Gets the remoteTypeName attribute of the RemoteCacheAttributes object.booleanGets the removeUponRemotePut attribute of the RemoteCacheAttributes object.intThis sets a general timeout on the rmi socket factory.booleanShould cluster updates be propagated to the locals.voidSets the clusterServers attribute of the RemoteCacheAttributes object.voidsetGetOnly(boolean r) Sets the getOnly attribute of the RemoteCacheAttributes objectvoidsetLocalClusterConsistency(boolean r) Should cluster updates be propagated to the locals.voidsetRemoteLocation(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 RemoteCacheAttributes object.voidSets the remoteType attribute of the RemoteCacheAttributes object.voidSets the remoteTypeName attribute of the RemoteCacheAttributes object.voidsetRemoveUponRemotePut(boolean r) Sets the removeUponRemotePut attribute of the RemoteCacheAttributes object.voidsetRmiSocketFactoryTimeoutMillis(int rmiSocketFactoryTimeoutMillis) This sets a general timeout on the RMI socket factory.toString()Methods 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, setName
- 
Constructor Details- 
CommonRemoteCacheAttributespublic CommonRemoteCacheAttributes()Default constructor for the RemoteCacheAttributes object
 
- 
- 
Method Details- 
getRemoteTypeNameGets the remoteTypeName attribute of the RemoteCacheAttributes object.- Specified by:
- getRemoteTypeNamein interface- ICommonRemoteCacheAttributes
- Returns:
- The remoteTypeName value
 
- 
setRemoteTypeNameSets the remoteTypeName attribute of the RemoteCacheAttributes object.- Specified by:
- setRemoteTypeNamein interface- ICommonRemoteCacheAttributes
- Parameters:
- s- The new remoteTypeName value
 
- 
getRemoteTypeGets the remoteType attribute of the RemoteCacheAttributes object.- Specified by:
- getRemoteTypein interface- ICommonRemoteCacheAttributes
- Returns:
- The remoteType value
 
- 
setRemoteTypeSets the remoteType attribute of the RemoteCacheAttributes object.- Specified by:
- setRemoteTypein interface- ICommonRemoteCacheAttributes
- Parameters:
- p- The new remoteType value
 
- 
getRemoteServiceNameGets the remoteServiceName attribute of the RemoteCacheAttributes object.- Specified by:
- getRemoteServiceNamein interface- ICommonRemoteCacheAttributes
- Returns:
- The remoteServiceName value
 
- 
setRemoteServiceNameSets the remoteServiceName attribute of the RemoteCacheAttributes object.- Specified by:
- setRemoteServiceNamein interface- ICommonRemoteCacheAttributes
- Parameters:
- s- The new remoteServiceName value
 
- 
setRemoteLocationSets the location attribute of the RemoteCacheAttributes object.- Specified by:
- setRemoteLocationin interface- ICommonRemoteCacheAttributes
- Parameters:
- location- The new location value
 
- 
setRemoteLocationSets the location attribute of the RemoteCacheAttributes object.- Specified by:
- setRemoteLocationin interface- ICommonRemoteCacheAttributes
- Parameters:
- host- The new remoteHost value
- port- The new remotePort value
 
- 
getRemoteLocationGets the location attribute of the RemoteCacheAttributes object.- Specified by:
- getRemoteLocationin interface- ICommonRemoteCacheAttributes
- Returns:
- The remote location value
 
- 
getClusterServersGets the clusterServers attribute of the RemoteCacheAttributes object.- Specified by:
- getClusterServersin interface- ICommonRemoteCacheAttributes
- Returns:
- The clusterServers value
 
- 
setClusterServersSets the clusterServers attribute of the RemoteCacheAttributes object.- Specified by:
- setClusterServersin interface- ICommonRemoteCacheAttributes
- Parameters:
- s- The new clusterServers value
 
- 
getRemoveUponRemotePutGets the removeUponRemotePut attribute of the RemoteCacheAttributes object.- Specified by:
- getRemoveUponRemotePutin interface- ICommonRemoteCacheAttributes
- Returns:
- The removeUponRemotePut value
 
- 
setRemoveUponRemotePutSets the removeUponRemotePut attribute of the RemoteCacheAttributes object.- Specified by:
- setRemoveUponRemotePutin interface- ICommonRemoteCacheAttributes
- Parameters:
- r- The new removeUponRemotePut value
 
- 
getGetOnlyGets the getOnly attribute of the RemoteCacheAttributes object.- Specified by:
- getGetOnlyin interface- ICommonRemoteCacheAttributes
- Returns:
- The getOnly value
 
- 
setGetOnlySets the getOnly attribute of the RemoteCacheAttributes object- Specified by:
- setGetOnlyin interface- ICommonRemoteCacheAttributes
- Parameters:
- r- The new getOnly value
 
- 
isLocalClusterConsistencyShould cluster updates be propagated to the locals.- Specified by:
- isLocalClusterConsistencyin interface- ICommonRemoteCacheAttributes
- Returns:
- The localClusterConsistency value
 
- 
setLocalClusterConsistencyShould cluster updates be propagated to the locals.- Specified by:
- setLocalClusterConsistencyin interface- ICommonRemoteCacheAttributes
- Parameters:
- r- The new localClusterConsistency value
 
- 
setRmiSocketFactoryTimeoutMillisDescription copied from interface:ICommonRemoteCacheAttributesThis sets a general timeout on the RMI socket factory. By default the socket factory will block forever.- Specified by:
- setRmiSocketFactoryTimeoutMillisin interface- ICommonRemoteCacheAttributes
- Parameters:
- rmiSocketFactoryTimeoutMillis- The rmiSocketFactoryTimeoutMillis to set.
 
- 
getRmiSocketFactoryTimeoutMillisDescription copied from interface:ICommonRemoteCacheAttributesThis 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. - Specified by:
- getRmiSocketFactoryTimeoutMillisin interface- ICommonRemoteCacheAttributes
- Returns:
- Returns the rmiSocketFactoryTimeoutMillis.
 
- 
toString
 
-