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, setName
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
public CommonRemoteCacheAttributes()
public String getRemoteTypeName()
getRemoteTypeName
in interface ICommonRemoteCacheAttributes
public void setRemoteTypeName(String s)
setRemoteTypeName
in interface ICommonRemoteCacheAttributes
s
- The new remoteTypeName valuepublic RemoteType getRemoteType()
getRemoteType
in interface ICommonRemoteCacheAttributes
public void setRemoteType(RemoteType p)
setRemoteType
in interface ICommonRemoteCacheAttributes
p
- The new remoteType valuepublic String getRemoteServiceName()
getRemoteServiceName
in interface ICommonRemoteCacheAttributes
public void setRemoteServiceName(String s)
setRemoteServiceName
in interface ICommonRemoteCacheAttributes
s
- The new remoteServiceName valuepublic void setRemoteLocation(RemoteLocation location)
setRemoteLocation
in interface ICommonRemoteCacheAttributes
location
- The new location valuepublic void setRemoteLocation(String host, int port)
setRemoteLocation
in interface ICommonRemoteCacheAttributes
host
- The new remoteHost valueport
- The new remotePort valuepublic RemoteLocation getRemoteLocation()
getRemoteLocation
in interface ICommonRemoteCacheAttributes
public String getClusterServers()
getClusterServers
in interface ICommonRemoteCacheAttributes
public void setClusterServers(String s)
setClusterServers
in interface ICommonRemoteCacheAttributes
s
- The new clusterServers valuepublic boolean getRemoveUponRemotePut()
getRemoveUponRemotePut
in interface ICommonRemoteCacheAttributes
public void setRemoveUponRemotePut(boolean r)
setRemoveUponRemotePut
in interface ICommonRemoteCacheAttributes
r
- The new removeUponRemotePut valuepublic boolean getGetOnly()
getGetOnly
in interface ICommonRemoteCacheAttributes
public void setGetOnly(boolean r)
setGetOnly
in interface ICommonRemoteCacheAttributes
r
- The new getOnly valuepublic boolean isLocalClusterConsistency()
isLocalClusterConsistency
in interface ICommonRemoteCacheAttributes
public void setLocalClusterConsistency(boolean r)
setLocalClusterConsistency
in interface ICommonRemoteCacheAttributes
r
- The new localClusterConsistency valuepublic void setRmiSocketFactoryTimeoutMillis(int rmiSocketFactoryTimeoutMillis)
ICommonRemoteCacheAttributes
setRmiSocketFactoryTimeoutMillis
in interface ICommonRemoteCacheAttributes
rmiSocketFactoryTimeoutMillis
- The rmiSocketFactoryTimeoutMillis to set.public int getRmiSocketFactoryTimeoutMillis()
ICommonRemoteCacheAttributes
We have a default setting. The default rmi behavior should never be used.
getRmiSocketFactoryTimeoutMillis
in interface ICommonRemoteCacheAttributes
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.