public class RemoteCacheServerAttributes extends AbstractAuxiliaryCacheAttributes implements IRemoteCacheServerAttributes
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_RMI_SOCKET_FACTORY_TIMEOUT_MS
Factory socket time out.
|
cacheName, eventQueuePoolName, eventQueueType, name
CLUSTER, LOCAL
POOLED_QUEUE_TYPE, SINGLE_QUEUE_TYPE
Constructor and Description |
---|
RemoteCacheServerAttributes()
Default constructor for the RemoteCacheAttributes object
|
Modifier and Type | Method and Description |
---|---|
AuxiliaryCacheAttributes |
copy()
clones
|
boolean |
getAllowClusterGet()
Should gets from non-cluster clients be allowed to get from other remote auxiliaries.
|
java.lang.String |
getClusterServers()
Gets the clusterServers attribute of the RemoteCacheAttributes object
|
java.lang.String |
getConfigFileName()
Gets the ConfigFileName attribute of the IRemoteCacheAttributes object
|
boolean |
getGetOnly()
Gets the getOnly attribute of the RemoteCacheAttributes object
|
boolean |
getLocalClusterConsistency()
Should cluster updates be propagated to the locals
|
long |
getRegistryKeepAliveDelayMillis() |
java.lang.String |
getRemoteHost()
Gets the remoteHost attribute of the RemoteCacheAttributes object
|
int |
getRemotePort()
Gets the remotePort attribute of the RemoteCacheAttributes object
|
java.lang.String |
getRemoteServiceName()
Gets the remoteServiceName attribute of the RemoteCacheAttributes object
|
int |
getRemoteType()
Gets the remoteType attribute of the RemoteCacheAttributes object
|
java.lang.String |
getRemoteTypeName()
Gets the remoteTypeName attribute of the RemoteCacheAttributes object
|
boolean |
getRemoveUponRemotePut()
Gets the removeUponRemotePut attribute of the RemoteCacheAttributes object
|
int |
getRmiSocketFactoryTimeoutMillis() |
int |
getServicePort()
Gets the localPort attribute of the RemoteCacheAttributes object
|
boolean |
isAllowClusterGet()
Should gets from non-cluster clients be allowed to get from other remote auxiliaries.
|
boolean |
isLocalClusterConsistency()
Should cluster updates be propagated to the locals
|
boolean |
isStartRegistry()
Should we start the registry
|
boolean |
isUseRegistryKeepAlive()
Should we try to keep the registry alive
|
void |
setAllowClusterGet(boolean r)
Should we try to get from other cluster servers if we don't find the items locally.
|
void |
setClusterServers(java.lang.String s)
Sets the clusterServers attribute of the RemoteCacheAttributes 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 RemoteCacheAttributes object
|
void |
setLocalClusterConsistency(boolean r)
Should cluster updates be propagated to the locals
|
void |
setRegistryKeepAliveDelayMillis(long registryKeepAliveDelayMillis) |
void |
setRemoteHost(java.lang.String s)
Sets the remoteHost attribute of the RemoteCacheAttributes object
|
void |
setRemotePort(int p)
Sets the remotePort attribute of the RemoteCacheAttributes object
|
void |
setRemoteServiceName(java.lang.String s)
Sets the remoteServiceName attribute of the RemoteCacheAttributes object
|
void |
setRemoteType(int p)
Sets the remoteType attribute of the RemoteCacheAttributes object
|
void |
setRemoteTypeName(java.lang.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) |
void |
setServicePort(int p)
Sets the localPort attribute of the RemoteCacheAttributes object
|
void |
setStartRegistry(boolean startRegistry)
Should we start the registry
|
void |
setUseRegistryKeepAlive(boolean useRegistryKeepAlive)
Should we try to keep the registry alive
|
java.lang.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 static final int DEFAULT_RMI_SOCKET_FACTORY_TIMEOUT_MS
public RemoteCacheServerAttributes()
public java.lang.String getRemoteTypeName()
getRemoteTypeName
in interface IRemoteCacheServerAttributes
public void setRemoteTypeName(java.lang.String s)
setRemoteTypeName
in interface IRemoteCacheServerAttributes
s
- The new remoteTypeName valuepublic int getRemoteType()
getRemoteType
in interface IRemoteCacheServerAttributes
public void setRemoteType(int p)
setRemoteType
in interface IRemoteCacheServerAttributes
p
- The new remoteType valuepublic AuxiliaryCacheAttributes copy()
copy
in interface AuxiliaryCacheAttributes
public java.lang.String getRemoteServiceName()
public void setRemoteServiceName(java.lang.String s)
s
- The new remoteServiceName valuepublic java.lang.String getRemoteHost()
getRemoteHost
in interface IRemoteCacheServerAttributes
public void setRemoteHost(java.lang.String s)
setRemoteHost
in interface IRemoteCacheServerAttributes
s
- The new remoteHost valuepublic int getRemotePort()
getRemotePort
in interface IRemoteCacheServerAttributes
public void setRemotePort(int p)
setRemotePort
in interface IRemoteCacheServerAttributes
p
- The new remotePort valuepublic java.lang.String getClusterServers()
getClusterServers
in interface IRemoteCacheServerAttributes
public void setClusterServers(java.lang.String s)
setClusterServers
in interface IRemoteCacheServerAttributes
s
- The new clusterServers valuepublic int getServicePort()
getServicePort
in interface IRemoteCacheServerAttributes
public void setServicePort(int p)
setServicePort
in interface IRemoteCacheServerAttributes
p
- The new localPort valuepublic boolean getRemoveUponRemotePut()
getRemoveUponRemotePut
in interface IRemoteCacheServerAttributes
public void setRemoveUponRemotePut(boolean r)
setRemoveUponRemotePut
in interface IRemoteCacheServerAttributes
r
- The new removeUponRemotePut valuepublic boolean getGetOnly()
getGetOnly
in interface IRemoteCacheServerAttributes
public void setGetOnly(boolean r)
setGetOnly
in interface IRemoteCacheServerAttributes
r
- The new getOnly valuepublic boolean getLocalClusterConsistency()
getLocalClusterConsistency
in interface IRemoteCacheServerAttributes
public boolean isLocalClusterConsistency()
public void setLocalClusterConsistency(boolean r)
setLocalClusterConsistency
in interface IRemoteCacheServerAttributes
r
- The new localClusterConsistency valuepublic boolean getAllowClusterGet()
getAllowClusterGet
in interface IRemoteCacheServerAttributes
public boolean isAllowClusterGet()
public void setAllowClusterGet(boolean r)
setAllowClusterGet
in interface IRemoteCacheServerAttributes
r
- The new localClusterConsistency valuepublic java.lang.String getConfigFileName()
getConfigFileName
in interface IRemoteCacheServerAttributes
public void setConfigFileName(java.lang.String s)
setConfigFileName
in interface IRemoteCacheServerAttributes
s
- The new clusterServers valuepublic void setRmiSocketFactoryTimeoutMillis(int rmiSocketFactoryTimeoutMillis)
setRmiSocketFactoryTimeoutMillis
in interface IRemoteCacheServerAttributes
rmiSocketFactoryTimeoutMillis
- The rmiSocketFactoryTimeoutMillis to set.public int getRmiSocketFactoryTimeoutMillis()
getRmiSocketFactoryTimeoutMillis
in interface IRemoteCacheServerAttributes
public void setUseRegistryKeepAlive(boolean useRegistryKeepAlive)
setUseRegistryKeepAlive
in interface IRemoteCacheServerAttributes
useRegistryKeepAlive
- the useRegistryKeepAlive to setpublic void setStartRegistry(boolean startRegistry)
setStartRegistry
in interface IRemoteCacheServerAttributes
startRegistry
- the startRegistry to setpublic boolean isStartRegistry()
isStartRegistry
in interface IRemoteCacheServerAttributes
public boolean isUseRegistryKeepAlive()
isUseRegistryKeepAlive
in interface IRemoteCacheServerAttributes
public void setRegistryKeepAliveDelayMillis(long registryKeepAliveDelayMillis)
setRegistryKeepAliveDelayMillis
in interface IRemoteCacheServerAttributes
registryKeepAliveDelayMillis
- the registryKeepAliveDelayMillis to setpublic long getRegistryKeepAliveDelayMillis()
getRegistryKeepAliveDelayMillis
in interface IRemoteCacheServerAttributes
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.