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 |
|---|---|
AuxiliaryCacheAttributes |
copy()
Clones
|
String |
getClusterServers()
Gets the clusterServers attribute of the RemoteCacheAttributes object.
|
boolean |
getGetOnly()
Gets the getOnly attribute of the RemoteCacheAttributes object.
|
String |
getRemoteHost()
Gets the remoteHost attribute of the RemoteCacheAttributes object.
|
int |
getRemotePort()
Gets the remotePort 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 |
setRemoteHost(String s)
Sets the remoteHost attribute of the RemoteCacheAttributes object.
|
void |
setRemotePort(int p)
Sets the remotePort 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() |
getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCacheName, 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 AuxiliaryCacheAttributes copy()
AuxiliaryCacheAttributescopy in interface AuxiliaryCacheAttributespublic String getRemoteServiceName()
getRemoteServiceName in interface ICommonRemoteCacheAttributespublic void setRemoteServiceName(String s)
setRemoteServiceName in interface ICommonRemoteCacheAttributess - The new remoteServiceName valuepublic String getRemoteHost()
getRemoteHost in interface ICommonRemoteCacheAttributespublic void setRemoteHost(String s)
setRemoteHost in interface ICommonRemoteCacheAttributess - The new remoteHost valuepublic int getRemotePort()
getRemotePort in interface ICommonRemoteCacheAttributespublic void setRemotePort(int p)
setRemotePort in interface ICommonRemoteCacheAttributesp - The new remotePort valuepublic 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–2015 The Apache Software Foundation. All rights reserved.