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, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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 AuxiliaryCacheAttributes copy()
AuxiliaryCacheAttributes
copy
in interface AuxiliaryCacheAttributes
public String getRemoteServiceName()
getRemoteServiceName
in interface ICommonRemoteCacheAttributes
public void setRemoteServiceName(String s)
setRemoteServiceName
in interface ICommonRemoteCacheAttributes
s
- The new remoteServiceName valuepublic String getRemoteHost()
getRemoteHost
in interface ICommonRemoteCacheAttributes
public void setRemoteHost(String s)
setRemoteHost
in interface ICommonRemoteCacheAttributes
s
- The new remoteHost valuepublic int getRemotePort()
getRemotePort
in interface ICommonRemoteCacheAttributes
public void setRemotePort(int p)
setRemotePort
in interface ICommonRemoteCacheAttributes
p
- The new remotePort valuepublic 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–2017 The Apache Software Foundation. All rights reserved.