|
||||||||||
| 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 |
|---|
| 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 propogated to the locals |
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 |
getServicePort()
Gets the localPort attribute of the RemoteCacheAttributes object |
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 propogated to the locals |
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 |
setServicePort(int p)
Sets the localPort attribute of the RemoteCacheAttributes object |
java.lang.String |
toString()
|
| Methods inherited from class org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes |
|---|
getCacheName, getEventQueuePoolName, getEventQueueType, getEventQueueTypeFactoryCode, 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, getEventQueueTypeFactoryCode, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName |
| Constructor Detail |
|---|
public RemoteCacheServerAttributes()
| Method Detail |
|---|
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 void setLocalClusterConsistency(boolean r)
setLocalClusterConsistency in interface IRemoteCacheServerAttributesr - The new localClusterConsistency valuepublic boolean getAllowClusterGet()
getAllowClusterGet in interface IRemoteCacheServerAttributespublic 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 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 | |||||||||