public interface IRemoteCacheServerAttributes extends AuxiliaryCacheAttributes
Modifier and Type | Field and Description |
---|---|
static int |
CLUSTER
A remote cache is either a local cache or a cluster cache
|
static int |
LOCAL
A remote cache is either a local cache or a cluster cache
|
POOLED_QUEUE_TYPE, SINGLE_QUEUE_TYPE
Modifier and Type | Method and Description |
---|---|
boolean |
getAllowClusterGet()
Should we try to get remotely when the request does not come in from a
cluster.
|
java.lang.String |
getClusterServers()
Gets the clusterServers attribute of the IRemoteCacheAttributes object.
|
java.lang.String |
getConfigFileName()
Gets the ConfigFileName attribute of the IRemoteCacheAttributes object.
|
boolean |
getGetOnly()
Gets the getOnly attribute of the IRemoteCacheAttributes object.
|
boolean |
getLocalClusterConsistency()
Should cluster updates be propogated to the locals.
|
long |
getRegistryKeepAliveDelayMillis() |
java.lang.String |
getRemoteHost()
Gets the remoteHost attribute of the IRemoteCacheAttributes object.
|
int |
getRemotePort()
Gets the remotePort attribute of the IRemoteCacheAttributes object.
|
int |
getRemoteType()
Gets the remoteType attribute of the IRemoteCacheAttributes object.
|
java.lang.String |
getRemoteTypeName()
Gets the remoteTypeName attribute of the IRemoteCacheAttributes object.
|
boolean |
getRemoveUponRemotePut()
Gets the removeUponRemotePut attribute of the IRemoteCacheAttributes.
|
int |
getRmiSocketFactoryTimeoutMillis() |
int |
getServicePort()
Gets the localPort attribute of the IRemoteCacheAttributes object.
|
boolean |
isStartRegistry()
Should we start the registry
|
boolean |
isUseRegistryKeepAlive()
Should we try to keep the registry alive
|
void |
setAllowClusterGet(boolean r)
Should cluster updates be propogated to the locals.
|
void |
setClusterServers(java.lang.String s)
Sets the clusterServers attribute of the IRemoteCacheAttributes object.
|
void |
setConfigFileName(java.lang.String s)
Sets the ConfigFileName 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 propogated to the locals.
|
void |
setRegistryKeepAliveDelayMillis(long registryKeepAliveDelayMillis) |
void |
setRemoteHost(java.lang.String s)
Sets the remoteHost attribute of the IRemoteCacheAttributes object.
|
void |
setRemotePort(int p)
Sets the remotePort attribute of the IRemoteCacheAttributes object.
|
void |
setRemoteType(int p)
Sets the remoteType attribute of the IRemoteCacheAttributes object.
|
void |
setRemoteTypeName(java.lang.String s)
Sets the remoteTypeName attribute of the IRemoteCacheAttributes object.
|
void |
setRemoveUponRemotePut(boolean r)
Sets the removeUponRemotePut attribute of the IRemoteCacheAttributes.
|
void |
setRmiSocketFactoryTimeoutMillis(int rmiSocketFactoryTimeoutMillis) |
void |
setServicePort(int p)
Sets the localPort attribute of the IRemoteCacheAttributes object.
|
void |
setStartRegistry(boolean startRegistry)
Should we start the registry
|
void |
setUseRegistryKeepAlive(boolean useRegistryKeepAlive)
Should we try to keep the registry alive
|
copy, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
static final int LOCAL
static final int CLUSTER
java.lang.String getRemoteTypeName()
void setRemoteTypeName(java.lang.String s)
s
- The new remoteTypeName valueint getRemoteType()
void setRemoteType(int p)
p
- The new remoteType valuejava.lang.String getRemoteHost()
void setRemoteHost(java.lang.String s)
s
- The new remoteHost valueint getRemotePort()
void setRemotePort(int p)
p
- The new remotePort valueint getServicePort()
void setServicePort(int p)
p
- The new localPort valuejava.lang.String getClusterServers()
void setClusterServers(java.lang.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 getLocalClusterConsistency()
void setLocalClusterConsistency(boolean r)
r
- The new localClusterConsistency valueboolean getAllowClusterGet()
void setAllowClusterGet(boolean r)
r
- The new localClusterConsistency valuejava.lang.String getConfigFileName()
void setConfigFileName(java.lang.String s)
s
- The new clusterServers valuevoid setRmiSocketFactoryTimeoutMillis(int rmiSocketFactoryTimeoutMillis)
rmiSocketFactoryTimeoutMillis
- The rmiSocketFactoryTimeoutMillis to set.int getRmiSocketFactoryTimeoutMillis()
void setUseRegistryKeepAlive(boolean useRegistryKeepAlive)
useRegistryKeepAlive
- the useRegistryKeepAlive to setvoid setStartRegistry(boolean startRegistry)
startRegistry
- the startRegistry to setboolean isStartRegistry()
boolean isUseRegistryKeepAlive()
void setRegistryKeepAliveDelayMillis(long registryKeepAliveDelayMillis)
registryKeepAliveDelayMillis
- the registryKeepAliveDelayMillis to setlong getRegistryKeepAliveDelayMillis()
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.