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, setRmiSocketFactoryTimeoutMillis
clone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getClusterServers, getGetOnly, getRemoteLocation, getRemoteServiceName, getRemoteType, getRemoteTypeName, getRemoveUponRemotePut, getRmiSocketFactoryTimeoutMillis, isLocalClusterConsistency, setClusterServers, setGetOnly, setLocalClusterConsistency, setRemoteLocation, setRemoteLocation, setRemoteServiceName, setRemoteType, setRemoteTypeName, setRemoveUponRemotePut, setRmiSocketFactoryTimeoutMillis
clone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
public RemoteCacheServerAttributes()
public int getServicePort()
getServicePort
in interface IRemoteCacheServerAttributes
public void setServicePort(int p)
setServicePort
in interface IRemoteCacheServerAttributes
p
- The new localPort valuepublic boolean isAllowClusterGet()
isAllowClusterGet
in interface IRemoteCacheServerAttributes
public void setAllowClusterGet(boolean r)
setAllowClusterGet
in interface IRemoteCacheServerAttributes
r
- The new localClusterConsistency valuepublic String getConfigFileName()
getConfigFileName
in interface IRemoteCacheServerAttributes
public void setConfigFileName(String s)
setConfigFileName
in interface IRemoteCacheServerAttributes
s
- The new clusterServers valuepublic void setUseRegistryKeepAlive(boolean useRegistryKeepAlive)
setUseRegistryKeepAlive
in interface IRemoteCacheServerAttributes
useRegistryKeepAlive
- the useRegistryKeepAlive to set@Deprecated public void setStartRegistry(boolean startRegistry)
setStartRegistry
in interface IRemoteCacheServerAttributes
startRegistry
- the startRegistry to set@Deprecated public 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 String toString()
toString
in class CommonRemoteCacheAttributes
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.