public interface ICommonRemoteCacheAttributes extends AuxiliaryCacheAttributes
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_RMI_SOCKET_FACTORY_TIMEOUT_MILLIS
The default timeout for the custom RMI socket factory
|
Modifier and Type | Method and Description |
---|---|
String |
getClusterServers()
Gets the clusterServers attribute of the IRemoteCacheAttributes object
|
boolean |
getGetOnly()
Gets the getOnly attribute of the IRemoteCacheAttributes object
|
RemoteLocation |
getRemoteLocation()
Gets the location attribute of the RemoteCacheAttributes object.
|
String |
getRemoteServiceName()
Gets the remoteServiceName attribute of the IRemoteCacheAttributes object
|
RemoteType |
getRemoteType()
Gets the remoteType attribute of the IRemoteCacheAttributes object
|
String |
getRemoteTypeName()
Gets the remoteTypeName attribute of the IRemoteCacheAttributes object
|
boolean |
getRemoveUponRemotePut()
Gets the removeUponRemotePut attribute of the IRemoteCacheAttributes 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 IRemoteCacheAttributes object
|
void |
setGetOnly(boolean r)
Sets the getOnly attribute of the IRemoteCacheAttributes 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 IRemoteCacheAttributes object
|
void |
setRemoteType(RemoteType p)
Sets the remoteType attribute of the IRemoteCacheAttributes object
|
void |
setRemoteTypeName(String s)
Sets the remoteTypeName attribute of the IRemoteCacheAttributes object
|
void |
setRemoveUponRemotePut(boolean r)
Sets the removeUponRemotePut attribute of the IRemoteCacheAttributes object
|
void |
setRmiSocketFactoryTimeoutMillis(int rmiSocketFactoryTimeoutMillis)
This sets a general timeout on the RMI socket factory.
|
clone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
static final int DEFAULT_RMI_SOCKET_FACTORY_TIMEOUT_MILLIS
String getRemoteTypeName()
void setRemoteTypeName(String s)
s
- The new remoteTypeName valueRemoteType getRemoteType()
void setRemoteType(RemoteType p)
p
- The new remoteType valueString getRemoteServiceName()
void setRemoteServiceName(String s)
s
- The new remoteServiceName valuevoid setRemoteLocation(RemoteLocation location)
location
- The new location valuevoid setRemoteLocation(String host, int port)
host
- The new remoteHost valueport
- The new remotePort valueRemoteLocation getRemoteLocation()
String getClusterServers()
void setClusterServers(String s)
s
- The new clusterServers valueboolean getRemoveUponRemotePut()
void setRemoveUponRemotePut(boolean r)
r
- The new removeUponRemotePut valueboolean getGetOnly()
void setGetOnly(boolean r)
r
- The new getOnly valueboolean isLocalClusterConsistency()
void setLocalClusterConsistency(boolean r)
r
- The new localClusterConsistency valueint getRmiSocketFactoryTimeoutMillis()
We have a default setting. The default rmi behavior should never be used.
void setRmiSocketFactoryTimeoutMillis(int rmiSocketFactoryTimeoutMillis)
rmiSocketFactoryTimeoutMillis
- Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.