|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
org.apache.jcs.auxiliary.remote.server.RemoteCacheServerAttributes
public class RemoteCacheServerAttributes
These attributes are used to configure the remote cache server.
Field Summary | |
---|---|
static int |
DEFAULT_RMI_SOCKET_FACTORY_TIMEOUT_MS
Factory socket time out. |
Fields inherited from class org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes |
---|
cacheName, eventQueuePoolName, eventQueueType, name |
Fields inherited from interface org.apache.jcs.auxiliary.remote.server.behavior.IRemoteCacheServerAttributes |
---|
CLUSTER, LOCAL |
Fields inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes |
---|
POOLED_QUEUE_TYPE, SINGLE_QUEUE_TYPE |
Constructor Summary | |
---|---|
RemoteCacheServerAttributes()
Default constructor for the RemoteCacheAttributes object |
Method Summary | |
---|---|
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()
|
Methods inherited from class org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes |
---|
getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes |
---|
getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName |
Field Detail |
---|
public static final int DEFAULT_RMI_SOCKET_FACTORY_TIMEOUT_MS
Constructor Detail |
---|
public RemoteCacheServerAttributes()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |