|
|||||||||||
| 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.RemoteCacheAttributes
These objects are used to configure the remote cache client.
| 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.IRemoteCacheAttributes |
CLUSTER, LOCAL |
| Fields inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes |
POOLED_QUEUE_TYPE, SINGLE_QUEUE_TYPE |
| Constructor Summary | |
RemoteCacheAttributes()
Default constructor for the RemoteCacheAttributes object |
|
| Method Summary | |
AuxiliaryCacheAttributes |
copy()
Description of the Method |
java.lang.String |
getClusterServers()
Gets the clusterServers attribute of the RemoteCacheAttributes object |
int |
getFailoverIndex()
Gets the failoverIndex attribute of the RemoteCacheAttributes object |
java.lang.String[] |
getFailovers()
Gets the failovers attribute of the RemoteCacheAttributes object |
java.lang.String |
getFailoverServers()
Gets the failoverServers attribute of the RemoteCacheAttributes object |
boolean |
getGetOnly()
Gets the getOnly attribute of the RemoteCacheAttributes object |
int |
getGetTimeoutMillis()
-1 and 0 mean no timeout, this is the default if the timeout is -1 or 0, no threadpool will be used. |
boolean |
getLocalClusterConsistency()
Should cluster updates be propogated to the locals |
int |
getLocalPort()
Gets the localPort attribute of the RemoteCacheAttributes object |
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 |
java.lang.String |
getThreadPoolName()
The thread pool the remote cache should use. |
void |
setClusterServers(java.lang.String s)
Sets the clusterServers attribute of the RemoteCacheAttributes object |
void |
setFailoverIndex(int p)
Sets the failoverIndex attribute of the RemoteCacheAttributes object |
void |
setFailovers(java.lang.String[] f)
Sets the failovers attribute of the RemoteCacheAttributes object |
void |
setFailoverServers(java.lang.String s)
Sets the failoverServers attribute of the RemoteCacheAttributes object |
void |
setGetOnly(boolean r)
Sets the getOnly attribute of the RemoteCacheAttributes object |
void |
setGetTimeoutMillis(int millis)
-1 means no timeout, this is the default if the timeout is -1 or 0, no threadpool will be used. |
void |
setLocalClusterConsistency(boolean r)
Should cluster updates be propogated to the locals |
void |
setLocalPort(int p)
Sets the localPort attribute of the RemoteCacheAttributes object |
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 |
setThreadPoolName(java.lang.String name)
Set the anme of the pool to use. |
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 RemoteCacheAttributes()
| Method Detail |
public java.lang.String getRemoteTypeName()
getRemoteTypeName in interface IRemoteCacheAttributespublic void setRemoteTypeName(java.lang.String s)
setRemoteTypeName in interface IRemoteCacheAttributess - The new remoteTypeName valuepublic int getFailoverIndex()
getFailoverIndex in interface IRemoteCacheAttributespublic void setFailoverIndex(int p)
setFailoverIndex in interface IRemoteCacheAttributesp - The new failoverIndex valuepublic java.lang.String[] getFailovers()
getFailovers in interface IRemoteCacheAttributespublic void setFailovers(java.lang.String[] f)
setFailovers in interface IRemoteCacheAttributesf - The new failovers valuepublic int getRemoteType()
getRemoteType in interface IRemoteCacheAttributespublic void setRemoteType(int p)
setRemoteType in interface IRemoteCacheAttributesp - The new remoteType valuepublic AuxiliaryCacheAttributes copy()
AuxiliaryCacheAttributes
copy in interface AuxiliaryCacheAttributespublic java.lang.String getRemoteServiceName()
getRemoteServiceName in interface IRemoteCacheAttributespublic void setRemoteServiceName(java.lang.String s)
setRemoteServiceName in interface IRemoteCacheAttributess - The new remoteServiceName valuepublic java.lang.String getRemoteHost()
getRemoteHost in interface IRemoteCacheAttributespublic void setRemoteHost(java.lang.String s)
setRemoteHost in interface IRemoteCacheAttributess - The new remoteHost valuepublic int getRemotePort()
getRemotePort in interface IRemoteCacheAttributespublic void setRemotePort(int p)
setRemotePort in interface IRemoteCacheAttributesp - The new remotePort valuepublic java.lang.String getClusterServers()
getClusterServers in interface IRemoteCacheAttributespublic void setClusterServers(java.lang.String s)
setClusterServers in interface IRemoteCacheAttributess - The new clusterServers valuepublic java.lang.String getFailoverServers()
getFailoverServers in interface IRemoteCacheAttributespublic void setFailoverServers(java.lang.String s)
setFailoverServers in interface IRemoteCacheAttributess - The new failoverServers valuepublic int getLocalPort()
getLocalPort in interface IRemoteCacheAttributespublic void setLocalPort(int p)
setLocalPort in interface IRemoteCacheAttributesp - The new localPort valuepublic boolean getRemoveUponRemotePut()
getRemoveUponRemotePut in interface IRemoteCacheAttributespublic void setRemoveUponRemotePut(boolean r)
setRemoveUponRemotePut in interface IRemoteCacheAttributesr - The new removeUponRemotePut valuepublic boolean getGetOnly()
getGetOnly in interface IRemoteCacheAttributespublic void setGetOnly(boolean r)
setGetOnly in interface IRemoteCacheAttributesr - The new getOnly valuepublic boolean getLocalClusterConsistency()
getLocalClusterConsistency in interface IRemoteCacheAttributespublic void setLocalClusterConsistency(boolean r)
setLocalClusterConsistency in interface IRemoteCacheAttributesr - The new localClusterConsistency valuepublic java.lang.String getThreadPoolName()
IRemoteCacheAttributesThe default name is "remote_cache_client"
getThreadPoolName in interface IRemoteCacheAttributespublic void setThreadPoolName(java.lang.String name)
IRemoteCacheAttributes
setThreadPoolName in interface IRemoteCacheAttributesname - public int getGetTimeoutMillis()
IRemoteCacheAttributes
getGetTimeoutMillis in interface IRemoteCacheAttributespublic void setGetTimeoutMillis(int millis)
IRemoteCacheAttributes
setGetTimeoutMillis in interface IRemoteCacheAttributesmillis - public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||