|
||||||||||
| 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.CommonRemoteCacheAttributes
public class CommonRemoteCacheAttributes
Attributes common to remote cache client and 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.behavior.ICommonRemoteCacheAttributes |
|---|
DEFAULT_RMI_SOCKET_FACTORY_TIMEOUT_MILLIS |
| Fields inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes |
|---|
POOLED_QUEUE_TYPE, SINGLE_QUEUE_TYPE |
| Constructor Summary | |
|---|---|
CommonRemoteCacheAttributes()
Default constructor for the RemoteCacheAttributes object |
|
| Method Summary | |
|---|---|
AuxiliaryCacheAttributes |
copy()
Clones |
String |
getClusterServers()
Gets the clusterServers attribute of the RemoteCacheAttributes object. |
boolean |
getGetOnly()
Gets the getOnly attribute of the RemoteCacheAttributes object. |
String |
getRemoteHost()
Gets the remoteHost attribute of the RemoteCacheAttributes object. |
int |
getRemotePort()
Gets the remotePort attribute of the RemoteCacheAttributes object. |
String |
getRemoteServiceName()
Gets the remoteServiceName attribute of the RemoteCacheAttributes object. |
RemoteType |
getRemoteType()
Gets the remoteType attribute of the RemoteCacheAttributes object. |
String |
getRemoteTypeName()
Gets the remoteTypeName attribute of the RemoteCacheAttributes object. |
boolean |
getRemoveUponRemotePut()
Gets the removeUponRemotePut attribute of the RemoteCacheAttributes object. |
int |
getRmiSocketFactoryTimeoutMillis()
This sets a general timeout on the rmi socket factory. |
boolean |
isLocalClusterConsistency()
Should cluster updates be propagated to the locals. |
void |
setClusterServers(String s)
Sets the clusterServers attribute of the RemoteCacheAttributes 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 |
setRemoteHost(String s)
Sets the remoteHost attribute of the RemoteCacheAttributes object. |
void |
setRemotePort(int p)
Sets the remotePort attribute of the RemoteCacheAttributes object. |
void |
setRemoteServiceName(String s)
Sets the remoteServiceName attribute of the RemoteCacheAttributes object. |
void |
setRemoteType(RemoteType p)
Sets the remoteType attribute of the RemoteCacheAttributes object. |
void |
setRemoteTypeName(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)
This sets a general timeout on the RMI socket factory. |
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 |
| Constructor Detail |
|---|
public CommonRemoteCacheAttributes()
| Method Detail |
|---|
public String getRemoteTypeName()
getRemoteTypeName in interface ICommonRemoteCacheAttributespublic void setRemoteTypeName(String s)
setRemoteTypeName in interface ICommonRemoteCacheAttributess - The new remoteTypeName valuepublic RemoteType getRemoteType()
getRemoteType in interface ICommonRemoteCacheAttributespublic void setRemoteType(RemoteType p)
setRemoteType in interface ICommonRemoteCacheAttributesp - The new remoteType valuepublic AuxiliaryCacheAttributes copy()
AuxiliaryCacheAttributes
copy in interface AuxiliaryCacheAttributespublic String getRemoteServiceName()
getRemoteServiceName in interface ICommonRemoteCacheAttributespublic void setRemoteServiceName(String s)
setRemoteServiceName in interface ICommonRemoteCacheAttributess - The new remoteServiceName valuepublic String getRemoteHost()
getRemoteHost in interface ICommonRemoteCacheAttributespublic void setRemoteHost(String s)
setRemoteHost in interface ICommonRemoteCacheAttributess - The new remoteHost valuepublic int getRemotePort()
getRemotePort in interface ICommonRemoteCacheAttributespublic void setRemotePort(int p)
setRemotePort in interface ICommonRemoteCacheAttributesp - The new remotePort valuepublic String getClusterServers()
getClusterServers in interface ICommonRemoteCacheAttributespublic void setClusterServers(String s)
setClusterServers in interface ICommonRemoteCacheAttributess - The new clusterServers valuepublic boolean getRemoveUponRemotePut()
getRemoveUponRemotePut in interface ICommonRemoteCacheAttributespublic void setRemoveUponRemotePut(boolean r)
setRemoveUponRemotePut in interface ICommonRemoteCacheAttributesr - The new removeUponRemotePut valuepublic boolean getGetOnly()
getGetOnly in interface ICommonRemoteCacheAttributespublic void setGetOnly(boolean r)
setGetOnly in interface ICommonRemoteCacheAttributesr - The new getOnly valuepublic boolean isLocalClusterConsistency()
isLocalClusterConsistency in interface ICommonRemoteCacheAttributespublic void setLocalClusterConsistency(boolean r)
setLocalClusterConsistency in interface ICommonRemoteCacheAttributesr - The new localClusterConsistency valuepublic void setRmiSocketFactoryTimeoutMillis(int rmiSocketFactoryTimeoutMillis)
ICommonRemoteCacheAttributes
setRmiSocketFactoryTimeoutMillis in interface ICommonRemoteCacheAttributesrmiSocketFactoryTimeoutMillis - The rmiSocketFactoryTimeoutMillis to set.public int getRmiSocketFactoryTimeoutMillis()
ICommonRemoteCacheAttributesWe have a default setting. The default rmi behavior should never be used.
getRmiSocketFactoryTimeoutMillis in interface ICommonRemoteCacheAttributespublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||