public class RemoteCacheServerAttributes extends CommonRemoteCacheAttributes implements IRemoteCacheServerAttributes
DEFAULT_RMI_SOCKET_FACTORY_TIMEOUT_MILLIS| Constructor and Description |
|---|
RemoteCacheServerAttributes()
Default constructor for the RemoteCacheAttributes object
|
| Modifier and Type | Method and Description |
|---|---|
String |
getConfigFileName()
Gets the ConfigFileName attribute of the IRemoteCacheAttributes object
|
long |
getRegistryKeepAliveDelayMillis() |
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 |
isStartRegistry()
Deprecated.
Always true, to be removed
|
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 |
setConfigFileName(String s)
Sets the ConfigFileName attribute of the IRemoteCacheAttributes object
|
void |
setRegistryKeepAliveDelayMillis(long registryKeepAliveDelayMillis) |
void |
setServicePort(int p)
Sets the localPort attribute of the RemoteCacheAttributes object
|
void |
setStartRegistry(boolean startRegistry)
Deprecated.
Always true, to be removed
|
void |
setUseRegistryKeepAlive(boolean useRegistryKeepAlive)
Should we try to keep the registry alive
|
String |
toString() |
getClusterServers, getGetOnly, getRemoteLocation, getRemoteServiceName, getRemoteType, getRemoteTypeName, getRemoveUponRemotePut, getRmiSocketFactoryTimeoutMillis, isLocalClusterConsistency, setClusterServers, setGetOnly, setLocalClusterConsistency, setRemoteLocation, setRemoteLocation, setRemoteServiceName, setRemoteType, setRemoteTypeName, setRemoveUponRemotePut, setRmiSocketFactoryTimeoutMillisclone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setNameequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetClusterServers, getGetOnly, getRemoteLocation, getRemoteServiceName, getRemoteType, getRemoteTypeName, getRemoveUponRemotePut, getRmiSocketFactoryTimeoutMillis, isLocalClusterConsistency, setClusterServers, setGetOnly, setLocalClusterConsistency, setRemoteLocation, setRemoteLocation, setRemoteServiceName, setRemoteType, setRemoteTypeName, setRemoveUponRemotePut, setRmiSocketFactoryTimeoutMillisclone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setNamepublic RemoteCacheServerAttributes()
public int getServicePort()
getServicePort in interface IRemoteCacheServerAttributespublic void setServicePort(int p)
setServicePort in interface IRemoteCacheServerAttributesp - The new localPort valuepublic boolean isAllowClusterGet()
isAllowClusterGet in interface IRemoteCacheServerAttributespublic void setAllowClusterGet(boolean r)
setAllowClusterGet in interface IRemoteCacheServerAttributesr - The new localClusterConsistency valuepublic String getConfigFileName()
getConfigFileName in interface IRemoteCacheServerAttributespublic void setConfigFileName(String s)
setConfigFileName in interface IRemoteCacheServerAttributess - The new clusterServers valuepublic void setUseRegistryKeepAlive(boolean useRegistryKeepAlive)
setUseRegistryKeepAlive in interface IRemoteCacheServerAttributesuseRegistryKeepAlive - the useRegistryKeepAlive to set@Deprecated public void setStartRegistry(boolean startRegistry)
setStartRegistry in interface IRemoteCacheServerAttributesstartRegistry - the startRegistry to set@Deprecated public 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 String toString()
toString in class CommonRemoteCacheAttributesCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.