|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteCacheServerAttributes
This defeines the minimal behavior for the objects that are used to configure the remote cache server.
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 | |
---|---|
boolean |
getAllowClusterGet()
Should we try to get remotely when the request does not come in from a cluster. |
String |
getClusterServers()
Gets the clusterServers attribute of the IRemoteCacheAttributes object. |
String |
getConfigFileName()
Gets the ConfigFileName attribute of the IRemoteCacheAttributes object. |
boolean |
getGetOnly()
Gets the getOnly attribute of the IRemoteCacheAttributes object. |
boolean |
getLocalClusterConsistency()
Should cluster updates be propogated to the locals. |
long |
getRegistryKeepAliveDelayMillis()
|
String |
getRemoteHost()
Gets the remoteHost attribute of the IRemoteCacheAttributes object. |
int |
getRemotePort()
Gets the remotePort attribute of the IRemoteCacheAttributes object. |
int |
getRemoteType()
Gets the remoteType attribute of the IRemoteCacheAttributes object. |
String |
getRemoteTypeName()
Gets the remoteTypeName attribute of the IRemoteCacheAttributes object. |
boolean |
getRemoveUponRemotePut()
Gets the removeUponRemotePut attribute of the IRemoteCacheAttributes. |
int |
getRmiSocketFactoryTimeoutMillis()
|
int |
getServicePort()
Gets the localPort attribute of the IRemoteCacheAttributes object. |
boolean |
isStartRegistry()
Should we start the registry |
boolean |
isUseRegistryKeepAlive()
Should we try to keep the registry alive |
void |
setAllowClusterGet(boolean r)
Should cluster updates be propogated to the locals. |
void |
setClusterServers(String s)
Sets the clusterServers attribute of the IRemoteCacheAttributes object. |
void |
setConfigFileName(String s)
Sets the ConfigFileName attribute of the IRemoteCacheAttributes object. |
void |
setGetOnly(boolean r)
Sets the getOnly attribute of the IRemoteCacheAttributes object. |
void |
setLocalClusterConsistency(boolean r)
Should cluster updates be propogated to the locals. |
void |
setRegistryKeepAliveDelayMillis(long registryKeepAliveDelayMillis)
|
void |
setRemoteHost(String s)
Sets the remoteHost attribute of the IRemoteCacheAttributes object. |
void |
setRemotePort(int p)
Sets the remotePort attribute of the IRemoteCacheAttributes object. |
void |
setRemoteType(int p)
Sets the remoteType attribute of the IRemoteCacheAttributes object. |
void |
setRemoteTypeName(String s)
Sets the remoteTypeName attribute of the IRemoteCacheAttributes object. |
void |
setRemoveUponRemotePut(boolean r)
Sets the removeUponRemotePut attribute of the IRemoteCacheAttributes. |
void |
setRmiSocketFactoryTimeoutMillis(int rmiSocketFactoryTimeoutMillis)
|
void |
setServicePort(int p)
Sets the localPort attribute of the IRemoteCacheAttributes object. |
void |
setStartRegistry(boolean startRegistry)
Should we start the registry |
void |
setUseRegistryKeepAlive(boolean useRegistryKeepAlive)
Should we try to keep the registry alive |
Methods inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes |
---|
copy, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName |
Field Detail |
---|
static final int LOCAL
static final int CLUSTER
Method Detail |
---|
String getRemoteTypeName()
void setRemoteTypeName(String s)
s
- The new remoteTypeName valueint getRemoteType()
void setRemoteType(int p)
p
- The new remoteType valueString getRemoteHost()
void setRemoteHost(String s)
s
- The new remoteHost valueint getRemotePort()
void setRemotePort(int p)
p
- The new remotePort valueint getServicePort()
void setServicePort(int p)
p
- The new localPort valueString getClusterServers()
void setClusterServers(String s)
s
- The new clusterServers valueboolean getRemoveUponRemotePut()
void setRemoveUponRemotePut(boolean r)
r
- The new removeUponRemotePut valueboolean getGetOnly()
void setGetOnly(boolean r)
r
- The new getOnly valueboolean getLocalClusterConsistency()
void setLocalClusterConsistency(boolean r)
r
- The new localClusterConsistency valueboolean getAllowClusterGet()
void setAllowClusterGet(boolean r)
r
- The new localClusterConsistency valueString getConfigFileName()
void setConfigFileName(String s)
s
- The new clusterServers valuevoid setRmiSocketFactoryTimeoutMillis(int rmiSocketFactoryTimeoutMillis)
rmiSocketFactoryTimeoutMillis
- The rmiSocketFactoryTimeoutMillis to set.int getRmiSocketFactoryTimeoutMillis()
void setUseRegistryKeepAlive(boolean useRegistryKeepAlive)
useRegistryKeepAlive
- the useRegistryKeepAlive to setvoid setStartRegistry(boolean startRegistry)
startRegistry
- the startRegistry to setboolean isStartRegistry()
boolean isUseRegistryKeepAlive()
void setRegistryKeepAliveDelayMillis(long registryKeepAliveDelayMillis)
registryKeepAliveDelayMillis
- the registryKeepAliveDelayMillis to setlong getRegistryKeepAliveDelayMillis()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |