|
|||||||||||
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 IRemoteCacheAttributes
public void setRemoteTypeName(java.lang.String s)
setRemoteTypeName
in interface IRemoteCacheAttributes
s
- The new remoteTypeName valuepublic int getFailoverIndex()
getFailoverIndex
in interface IRemoteCacheAttributes
public void setFailoverIndex(int p)
setFailoverIndex
in interface IRemoteCacheAttributes
p
- The new failoverIndex valuepublic java.lang.String[] getFailovers()
getFailovers
in interface IRemoteCacheAttributes
public void setFailovers(java.lang.String[] f)
setFailovers
in interface IRemoteCacheAttributes
f
- The new failovers valuepublic int getRemoteType()
getRemoteType
in interface IRemoteCacheAttributes
public void setRemoteType(int p)
setRemoteType
in interface IRemoteCacheAttributes
p
- The new remoteType valuepublic AuxiliaryCacheAttributes copy()
AuxiliaryCacheAttributes
copy
in interface AuxiliaryCacheAttributes
public java.lang.String getRemoteServiceName()
getRemoteServiceName
in interface IRemoteCacheAttributes
public void setRemoteServiceName(java.lang.String s)
setRemoteServiceName
in interface IRemoteCacheAttributes
s
- The new remoteServiceName valuepublic java.lang.String getRemoteHost()
getRemoteHost
in interface IRemoteCacheAttributes
public void setRemoteHost(java.lang.String s)
setRemoteHost
in interface IRemoteCacheAttributes
s
- The new remoteHost valuepublic int getRemotePort()
getRemotePort
in interface IRemoteCacheAttributes
public void setRemotePort(int p)
setRemotePort
in interface IRemoteCacheAttributes
p
- The new remotePort valuepublic java.lang.String getClusterServers()
getClusterServers
in interface IRemoteCacheAttributes
public void setClusterServers(java.lang.String s)
setClusterServers
in interface IRemoteCacheAttributes
s
- The new clusterServers valuepublic java.lang.String getFailoverServers()
getFailoverServers
in interface IRemoteCacheAttributes
public void setFailoverServers(java.lang.String s)
setFailoverServers
in interface IRemoteCacheAttributes
s
- The new failoverServers valuepublic int getLocalPort()
getLocalPort
in interface IRemoteCacheAttributes
public void setLocalPort(int p)
setLocalPort
in interface IRemoteCacheAttributes
p
- The new localPort valuepublic boolean getRemoveUponRemotePut()
getRemoveUponRemotePut
in interface IRemoteCacheAttributes
public void setRemoveUponRemotePut(boolean r)
setRemoveUponRemotePut
in interface IRemoteCacheAttributes
r
- The new removeUponRemotePut valuepublic boolean getGetOnly()
getGetOnly
in interface IRemoteCacheAttributes
public void setGetOnly(boolean r)
setGetOnly
in interface IRemoteCacheAttributes
r
- The new getOnly valuepublic boolean getLocalClusterConsistency()
getLocalClusterConsistency
in interface IRemoteCacheAttributes
public void setLocalClusterConsistency(boolean r)
setLocalClusterConsistency
in interface IRemoteCacheAttributes
r
- The new localClusterConsistency valuepublic java.lang.String getThreadPoolName()
IRemoteCacheAttributes
The default name is "remote_cache_client"
getThreadPoolName
in interface IRemoteCacheAttributes
public void setThreadPoolName(java.lang.String name)
IRemoteCacheAttributes
setThreadPoolName
in interface IRemoteCacheAttributes
name
- public int getGetTimeoutMillis()
IRemoteCacheAttributes
getGetTimeoutMillis
in interface IRemoteCacheAttributes
public void setGetTimeoutMillis(int millis)
IRemoteCacheAttributes
setGetTimeoutMillis
in interface IRemoteCacheAttributes
millis
- public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |