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, nameCLUSTER, LOCALPOOLED_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, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setNamepublic static final int DEFAULT_RMI_SOCKET_FACTORY_TIMEOUT_MS
public RemoteCacheServerAttributes()
public java.lang.String getRemoteTypeName()
getRemoteTypeName in interface IRemoteCacheServerAttributespublic void setRemoteTypeName(java.lang.String s)
setRemoteTypeName in interface IRemoteCacheServerAttributess - The new remoteTypeName valuepublic int getRemoteType()
getRemoteType in interface IRemoteCacheServerAttributespublic void setRemoteType(int p)
setRemoteType in interface IRemoteCacheServerAttributesp - The new remoteType valuepublic AuxiliaryCacheAttributes copy()
copy in interface AuxiliaryCacheAttributespublic java.lang.String getRemoteServiceName()
public void setRemoteServiceName(java.lang.String s)
s - The new remoteServiceName valuepublic java.lang.String getRemoteHost()
getRemoteHost in interface IRemoteCacheServerAttributespublic void setRemoteHost(java.lang.String s)
setRemoteHost in interface IRemoteCacheServerAttributess - The new remoteHost valuepublic int getRemotePort()
getRemotePort in interface IRemoteCacheServerAttributespublic void setRemotePort(int p)
setRemotePort in interface IRemoteCacheServerAttributesp - The new remotePort valuepublic java.lang.String getClusterServers()
getClusterServers in interface IRemoteCacheServerAttributespublic void setClusterServers(java.lang.String s)
setClusterServers in interface IRemoteCacheServerAttributess - The new clusterServers valuepublic int getServicePort()
getServicePort in interface IRemoteCacheServerAttributespublic void setServicePort(int p)
setServicePort in interface IRemoteCacheServerAttributesp - The new localPort valuepublic boolean getRemoveUponRemotePut()
getRemoveUponRemotePut in interface IRemoteCacheServerAttributespublic void setRemoveUponRemotePut(boolean r)
setRemoveUponRemotePut in interface IRemoteCacheServerAttributesr - The new removeUponRemotePut valuepublic boolean getGetOnly()
getGetOnly in interface IRemoteCacheServerAttributespublic void setGetOnly(boolean r)
setGetOnly in interface IRemoteCacheServerAttributesr - The new getOnly valuepublic boolean getLocalClusterConsistency()
getLocalClusterConsistency in interface IRemoteCacheServerAttributespublic boolean isLocalClusterConsistency()
public void setLocalClusterConsistency(boolean r)
setLocalClusterConsistency in interface IRemoteCacheServerAttributesr - The new localClusterConsistency valuepublic boolean getAllowClusterGet()
getAllowClusterGet in interface IRemoteCacheServerAttributespublic boolean isAllowClusterGet()
public void setAllowClusterGet(boolean r)
setAllowClusterGet in interface IRemoteCacheServerAttributesr - The new localClusterConsistency valuepublic java.lang.String getConfigFileName()
getConfigFileName in interface IRemoteCacheServerAttributespublic void setConfigFileName(java.lang.String s)
setConfigFileName in interface IRemoteCacheServerAttributess - The new clusterServers valuepublic void setRmiSocketFactoryTimeoutMillis(int rmiSocketFactoryTimeoutMillis)
setRmiSocketFactoryTimeoutMillis in interface IRemoteCacheServerAttributesrmiSocketFactoryTimeoutMillis - The rmiSocketFactoryTimeoutMillis to set.public int getRmiSocketFactoryTimeoutMillis()
getRmiSocketFactoryTimeoutMillis in interface IRemoteCacheServerAttributespublic void setUseRegistryKeepAlive(boolean useRegistryKeepAlive)
setUseRegistryKeepAlive in interface IRemoteCacheServerAttributesuseRegistryKeepAlive - the useRegistryKeepAlive to setpublic void setStartRegistry(boolean startRegistry)
setStartRegistry in interface IRemoteCacheServerAttributesstartRegistry - the startRegistry to setpublic boolean isStartRegistry()
isStartRegistry in interface IRemoteCacheServerAttributespublic boolean isUseRegistryKeepAlive()
isUseRegistryKeepAlive in interface IRemoteCacheServerAttributespublic void setRegistryKeepAliveDelayMillis(long registryKeepAliveDelayMillis)
setRegistryKeepAliveDelayMillis in interface IRemoteCacheServerAttributesregistryKeepAliveDelayMillis - the registryKeepAliveDelayMillis to setpublic long getRegistryKeepAliveDelayMillis()
getRegistryKeepAliveDelayMillis in interface IRemoteCacheServerAttributespublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.