public class CommonRemoteCacheAttributes extends AbstractAuxiliaryCacheAttributes implements ICommonRemoteCacheAttributes
DEFAULT_RMI_SOCKET_FACTORY_TIMEOUT_MILLIS| Constructor and Description |
|---|
CommonRemoteCacheAttributes()
Default constructor for the RemoteCacheAttributes object
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClusterServers()
Gets the clusterServers attribute of the RemoteCacheAttributes object.
|
boolean |
getGetOnly()
Gets the getOnly attribute of the RemoteCacheAttributes object.
|
RemoteLocation |
getRemoteLocation()
Gets the location attribute of the RemoteCacheAttributes object.
|
String |
getRemoteServiceName()
Gets the remoteServiceName attribute of the RemoteCacheAttributes object.
|
RemoteType |
getRemoteType()
Gets the remoteType attribute of the RemoteCacheAttributes object.
|
String |
getRemoteTypeName()
Gets the remoteTypeName attribute of the RemoteCacheAttributes object.
|
boolean |
getRemoveUponRemotePut()
Gets the removeUponRemotePut attribute of the RemoteCacheAttributes object.
|
int |
getRmiSocketFactoryTimeoutMillis()
This sets a general timeout on the rmi socket factory.
|
boolean |
isLocalClusterConsistency()
Should cluster updates be propagated to the locals.
|
void |
setClusterServers(String s)
Sets the clusterServers attribute of the RemoteCacheAttributes object.
|
void |
setGetOnly(boolean r)
Sets the getOnly attribute of the RemoteCacheAttributes object
|
void |
setLocalClusterConsistency(boolean r)
Should cluster updates be propagated to the locals.
|
void |
setRemoteLocation(RemoteLocation location)
Sets the location attribute of the RemoteCacheAttributes object.
|
void |
setRemoteLocation(String host,
int port)
Sets the location attribute of the RemoteCacheAttributes object.
|
void |
setRemoteServiceName(String s)
Sets the remoteServiceName attribute of the RemoteCacheAttributes object.
|
void |
setRemoteType(RemoteType p)
Sets the remoteType attribute of the RemoteCacheAttributes object.
|
void |
setRemoteTypeName(String s)
Sets the remoteTypeName attribute of the RemoteCacheAttributes object.
|
void |
setRemoveUponRemotePut(boolean r)
Sets the removeUponRemotePut attribute of the RemoteCacheAttributes object.
|
void |
setRmiSocketFactoryTimeoutMillis(int rmiSocketFactoryTimeoutMillis)
This sets a general timeout on the RMI socket factory.
|
String |
toString() |
clone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setNameequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setNamepublic CommonRemoteCacheAttributes()
public String getRemoteTypeName()
getRemoteTypeName in interface ICommonRemoteCacheAttributespublic void setRemoteTypeName(String s)
setRemoteTypeName in interface ICommonRemoteCacheAttributess - The new remoteTypeName valuepublic RemoteType getRemoteType()
getRemoteType in interface ICommonRemoteCacheAttributespublic void setRemoteType(RemoteType p)
setRemoteType in interface ICommonRemoteCacheAttributesp - The new remoteType valuepublic String getRemoteServiceName()
getRemoteServiceName in interface ICommonRemoteCacheAttributespublic void setRemoteServiceName(String s)
setRemoteServiceName in interface ICommonRemoteCacheAttributess - The new remoteServiceName valuepublic void setRemoteLocation(RemoteLocation location)
setRemoteLocation in interface ICommonRemoteCacheAttributeslocation - The new location valuepublic void setRemoteLocation(String host, int port)
setRemoteLocation in interface ICommonRemoteCacheAttributeshost - The new remoteHost valueport - The new remotePort valuepublic RemoteLocation getRemoteLocation()
getRemoteLocation in interface ICommonRemoteCacheAttributespublic String getClusterServers()
getClusterServers in interface ICommonRemoteCacheAttributespublic void setClusterServers(String s)
setClusterServers in interface ICommonRemoteCacheAttributess - The new clusterServers valuepublic boolean getRemoveUponRemotePut()
getRemoveUponRemotePut in interface ICommonRemoteCacheAttributespublic void setRemoveUponRemotePut(boolean r)
setRemoveUponRemotePut in interface ICommonRemoteCacheAttributesr - The new removeUponRemotePut valuepublic boolean getGetOnly()
getGetOnly in interface ICommonRemoteCacheAttributespublic void setGetOnly(boolean r)
setGetOnly in interface ICommonRemoteCacheAttributesr - The new getOnly valuepublic boolean isLocalClusterConsistency()
isLocalClusterConsistency in interface ICommonRemoteCacheAttributespublic void setLocalClusterConsistency(boolean r)
setLocalClusterConsistency in interface ICommonRemoteCacheAttributesr - The new localClusterConsistency valuepublic void setRmiSocketFactoryTimeoutMillis(int rmiSocketFactoryTimeoutMillis)
ICommonRemoteCacheAttributessetRmiSocketFactoryTimeoutMillis in interface ICommonRemoteCacheAttributesrmiSocketFactoryTimeoutMillis - The rmiSocketFactoryTimeoutMillis to set.public int getRmiSocketFactoryTimeoutMillis()
ICommonRemoteCacheAttributesWe have a default setting. The default rmi behavior should never be used.
getRmiSocketFactoryTimeoutMillis in interface ICommonRemoteCacheAttributesCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.