|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This specifies what a remote cache configuration object should look like.
Field Summary | |
static int |
CLUSTER
A remote cache is either a local cache or a cluster cache. |
static int |
LOCAL
A remote cache is either a local cache or a cluster cache. |
Fields inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes |
POOLED_QUEUE_TYPE, SINGLE_QUEUE_TYPE |
Method Summary | |
java.lang.String |
getClusterServers()
Gets the clusterServers attribute of the IRemoteCacheAttributes object |
int |
getFailoverIndex()
Gets the failoverIndex attribute of the IRemoteCacheAttributes object. |
java.lang.String[] |
getFailovers()
Gets the failovers attribute of the IRemoteCacheAttributes object |
java.lang.String |
getFailoverServers()
Gets the failoverServers attribute of the IRemoteCacheAttributes object |
boolean |
getGetOnly()
Gets the getOnly attribute of the IRemoteCacheAttributes 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 IRemoteCacheAttributes object |
java.lang.String |
getRemoteHost()
Gets the remoteHost attribute of the IRemoteCacheAttributes object |
int |
getRemotePort()
Gets the remotePort attribute of the IRemoteCacheAttributes object |
java.lang.String |
getRemoteServiceName()
Gets the remoteServiceName attribute of the IRemoteCacheAttributes object |
int |
getRemoteType()
Gets the remoteType attribute of the IRemoteCacheAttributes object |
java.lang.String |
getRemoteTypeName()
Gets the remoteTypeName attribute of the IRemoteCacheAttributes object |
boolean |
getRemoveUponRemotePut()
Gets the removeUponRemotePut attribute of the IRemoteCacheAttributes 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 IRemoteCacheAttributes object |
void |
setFailoverIndex(int p)
Sets the failoverIndex attribute of the IRemoteCacheAttributes object |
void |
setFailovers(java.lang.String[] f)
Sets the failovers attribute of the IRemoteCacheAttributes object |
void |
setFailoverServers(java.lang.String s)
Sets the failoverServers attribute of the IRemoteCacheAttributes object |
void |
setGetOnly(boolean r)
Sets the getOnly attribute of the IRemoteCacheAttributes 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 IRemoteCacheAttributes object |
void |
setRemoteHost(java.lang.String s)
Sets the remoteHost attribute of the IRemoteCacheAttributes object |
void |
setRemotePort(int p)
Sets the remotePort attribute of the IRemoteCacheAttributes object |
void |
setRemoteServiceName(java.lang.String s)
Sets the remoteServiceName attribute of the IRemoteCacheAttributes object |
void |
setRemoteType(int p)
Sets the remoteType attribute of the IRemoteCacheAttributes object |
void |
setRemoteTypeName(java.lang.String s)
Sets the remoteTypeName attribute of the IRemoteCacheAttributes object |
void |
setRemoveUponRemotePut(boolean r)
Sets the removeUponRemotePut attribute of the IRemoteCacheAttributes object |
void |
setThreadPoolName(java.lang.String name)
Set the anme of the pool to use. |
Methods inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes |
copy, getCacheName, getEventQueuePoolName, getEventQueueType, getEventQueueTypeFactoryCode, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName |
Field Detail |
public static final int LOCAL
public static final int CLUSTER
Method Detail |
public java.lang.String getRemoteTypeName()
public void setRemoteTypeName(java.lang.String s)
s
- The new remoteTypeName valuepublic int getRemoteType()
public void setRemoteType(int p)
p
- The new remoteType valuepublic int getFailoverIndex()
This specifies which server in the list we are listening to if the number is greater than 0 we will try to move to 0 position the primary is added as position 1 if it is present
public void setFailoverIndex(int p)
p
- The new failoverIndex valuepublic java.lang.String[] getFailovers()
public void setFailovers(java.lang.String[] f)
f
- The new failovers valuepublic java.lang.String getRemoteServiceName()
public void setRemoteServiceName(java.lang.String s)
s
- The new remoteServiceName valuepublic java.lang.String getRemoteHost()
public void setRemoteHost(java.lang.String s)
s
- The new remoteHost valuepublic int getRemotePort()
public void setRemotePort(int p)
p
- The new remotePort valuepublic int getLocalPort()
public void setLocalPort(int p)
p
- The new localPort valuepublic java.lang.String getClusterServers()
public void setClusterServers(java.lang.String s)
s
- The new clusterServers valuepublic java.lang.String getFailoverServers()
public void setFailoverServers(java.lang.String s)
s
- The new failoverServers valuepublic boolean getRemoveUponRemotePut()
public void setRemoveUponRemotePut(boolean r)
r
- The new removeUponRemotePut valuepublic boolean getGetOnly()
public void setGetOnly(boolean r)
r
- The new getOnly valuepublic boolean getLocalClusterConsistency()
public void setLocalClusterConsistency(boolean r)
r
- The new localClusterConsistency valuepublic java.lang.String getThreadPoolName()
The default name is "remote_cache_client"
public void setThreadPoolName(java.lang.String name)
name
- public int getGetTimeoutMillis()
public void setGetTimeoutMillis(int millis)
millis
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |