org.apache.jcs.auxiliary.remote.server
Class RemoteCacheServerAttributes

java.lang.Object
  extended byorg.apache.jcs.auxiliary.remote.server.RemoteCacheServerAttributes
All Implemented Interfaces:
AuxiliaryCacheAttributes, java.lang.Cloneable, IRemoteCacheServerAttributes, java.io.Serializable

public class RemoteCacheServerAttributes
extends java.lang.Object
implements IRemoteCacheServerAttributes

Description of the Class

Author:
asmuts
See Also:
Serialized Form

Field Summary
private  boolean allowClusterGet
           
private  java.lang.String cacheName
           
private  java.lang.String clusterServers
           
private  java.lang.String configFileName
           
private  boolean getFromCluster
           
private  boolean getOnly
           
private  boolean localClusterConsistency
           
private  java.lang.String name
           
private  java.lang.String remoteHost
           
private  int remotePort
           
private  java.lang.String remoteServiceName
           
private  int remoteType
           
private  boolean removeUponRemotePut
           
private  int servicePort
           
 
Fields inherited from interface org.apache.jcs.auxiliary.remote.server.behavior.IRemoteCacheServerAttributes
CLUSTER, LOCAL
 
Constructor Summary
RemoteCacheServerAttributes()
          Constructor for the RemoteCacheAttributes object
 
Method Summary
 AuxiliaryCacheAttributes copy()
          Description of the Method
 boolean getAllowClusterGet()
          Should cluster updates be propogated to the locals
 java.lang.String getCacheName()
          Gets the cacheName attribute of the RemoteCacheAttributes object
 java.lang.String getClusterServers()
          Gets the clusterServers attribute of the RemoteCacheAttributes object
 java.lang.String getConfigFileName()
          Gets the ConfigFileName attribute of the IRemoteCacheAttributes object
 boolean getGetOnly()
          Gets the getOnly attribute of the RemoteCacheAttributes object
 boolean getLocalClusterConsistency()
          Should cluster updates be propogated to the locals
 java.lang.String getName()
          Gets the name 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
 int getServicePort()
          Gets the localPort attribute of the RemoteCacheAttributes object
 void setAllowClusterGet(boolean r)
          Should cluster updates be propogated to the locals
 void setCacheName(java.lang.String s)
          Sets the cacheName attribute of the RemoteCacheAttributes object
 void setClusterServers(java.lang.String s)
          Sets the clusterServers attribute of the RemoteCacheAttributes object
 void setConfigFileName(java.lang.String s)
          Sets the ConfigFileName attribute of the IRemoteCacheAttributes object
 void setGetOnly(boolean r)
          Sets the getOnly attribute of the RemoteCacheAttributes object
 void setLocalClusterConsistency(boolean r)
          Should cluster updates be propogated to the locals
 void setName(java.lang.String name)
          Sets the name 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 setServicePort(int p)
          Sets the localPort attribute of the RemoteCacheAttributes object
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cacheName

private java.lang.String cacheName

name

private java.lang.String name

remoteServiceName

private java.lang.String remoteServiceName

remoteHost

private java.lang.String remoteHost

remotePort

private int remotePort

clusterServers

private java.lang.String clusterServers

getFromCluster

private boolean getFromCluster

servicePort

private int servicePort

remoteType

private int remoteType

removeUponRemotePut

private boolean removeUponRemotePut

getOnly

private boolean getOnly

localClusterConsistency

private boolean localClusterConsistency

allowClusterGet

private boolean allowClusterGet

configFileName

private java.lang.String configFileName
Constructor Detail

RemoteCacheServerAttributes

public RemoteCacheServerAttributes()
Constructor for the RemoteCacheAttributes object

Method Detail

getRemoteTypeName

public java.lang.String getRemoteTypeName()
Gets the remoteTypeName attribute of the RemoteCacheAttributes object

Specified by:
getRemoteTypeName in interface IRemoteCacheServerAttributes
Returns:
The remoteTypeName value

setRemoteTypeName

public void setRemoteTypeName(java.lang.String s)
Sets the remoteTypeName attribute of the RemoteCacheAttributes object

Specified by:
setRemoteTypeName in interface IRemoteCacheServerAttributes
Parameters:
s - The new remoteTypeName value

getRemoteType

public int getRemoteType()
Gets the remoteType attribute of the RemoteCacheAttributes object

Specified by:
getRemoteType in interface IRemoteCacheServerAttributes
Returns:
The remoteType value

setRemoteType

public void setRemoteType(int p)
Sets the remoteType attribute of the RemoteCacheAttributes object

Specified by:
setRemoteType in interface IRemoteCacheServerAttributes
Parameters:
p - The new remoteType value

setCacheName

public void setCacheName(java.lang.String s)
Sets the cacheName attribute of the RemoteCacheAttributes object

Specified by:
setCacheName in interface AuxiliaryCacheAttributes
Parameters:
s - The new cacheName value

getCacheName

public java.lang.String getCacheName()
Gets the cacheName attribute of the RemoteCacheAttributes object

Specified by:
getCacheName in interface AuxiliaryCacheAttributes
Returns:
The cacheName value

getName

public java.lang.String getName()
Gets the name attribute of the RemoteCacheAttributes object

Specified by:
getName in interface AuxiliaryCacheAttributes
Returns:
The name value

setName

public void setName(java.lang.String name)
Sets the name attribute of the RemoteCacheAttributes object

Specified by:
setName in interface AuxiliaryCacheAttributes
Parameters:
name - The new name value

copy

public AuxiliaryCacheAttributes copy()
Description of the Method

Specified by:
copy in interface AuxiliaryCacheAttributes

getRemoteServiceName

public java.lang.String getRemoteServiceName()
Gets the remoteServiceName attribute of the RemoteCacheAttributes object

Returns:
The remoteServiceName value

setRemoteServiceName

public void setRemoteServiceName(java.lang.String s)
Sets the remoteServiceName attribute of the RemoteCacheAttributes object

Parameters:
s - The new remoteServiceName value

getRemoteHost

public java.lang.String getRemoteHost()
Gets the remoteHost attribute of the RemoteCacheAttributes object

Specified by:
getRemoteHost in interface IRemoteCacheServerAttributes
Returns:
The remoteHost value

setRemoteHost

public void setRemoteHost(java.lang.String s)
Sets the remoteHost attribute of the RemoteCacheAttributes object

Specified by:
setRemoteHost in interface IRemoteCacheServerAttributes
Parameters:
s - The new remoteHost value

getRemotePort

public int getRemotePort()
Gets the remotePort attribute of the RemoteCacheAttributes object

Specified by:
getRemotePort in interface IRemoteCacheServerAttributes
Returns:
The remotePort value

setRemotePort

public void setRemotePort(int p)
Sets the remotePort attribute of the RemoteCacheAttributes object

Specified by:
setRemotePort in interface IRemoteCacheServerAttributes
Parameters:
p - The new remotePort value

getClusterServers

public java.lang.String getClusterServers()
Gets the clusterServers attribute of the RemoteCacheAttributes object

Specified by:
getClusterServers in interface IRemoteCacheServerAttributes
Returns:
The clusterServers value

setClusterServers

public void setClusterServers(java.lang.String s)
Sets the clusterServers attribute of the RemoteCacheAttributes object

Specified by:
setClusterServers in interface IRemoteCacheServerAttributes
Parameters:
s - The new clusterServers value

getServicePort

public int getServicePort()
Gets the localPort attribute of the RemoteCacheAttributes object

Specified by:
getServicePort in interface IRemoteCacheServerAttributes
Returns:
The localPort value

setServicePort

public void setServicePort(int p)
Sets the localPort attribute of the RemoteCacheAttributes object

Specified by:
setServicePort in interface IRemoteCacheServerAttributes
Parameters:
p - The new localPort value

getRemoveUponRemotePut

public boolean getRemoveUponRemotePut()
Gets the removeUponRemotePut attribute of the RemoteCacheAttributes object

Specified by:
getRemoveUponRemotePut in interface IRemoteCacheServerAttributes
Returns:
The removeUponRemotePut value

setRemoveUponRemotePut

public void setRemoveUponRemotePut(boolean r)
Sets the removeUponRemotePut attribute of the RemoteCacheAttributes object

Specified by:
setRemoveUponRemotePut in interface IRemoteCacheServerAttributes
Parameters:
r - The new removeUponRemotePut value

getGetOnly

public boolean getGetOnly()
Gets the getOnly attribute of the RemoteCacheAttributes object

Specified by:
getGetOnly in interface IRemoteCacheServerAttributes
Returns:
The getOnly value

setGetOnly

public void setGetOnly(boolean r)
Sets the getOnly attribute of the RemoteCacheAttributes object

Specified by:
setGetOnly in interface IRemoteCacheServerAttributes
Parameters:
r - The new getOnly value

getLocalClusterConsistency

public boolean getLocalClusterConsistency()
Should cluster updates be propogated to the locals

Specified by:
getLocalClusterConsistency in interface IRemoteCacheServerAttributes
Returns:
The localClusterConsistency value

setLocalClusterConsistency

public void setLocalClusterConsistency(boolean r)
Should cluster updates be propogated to the locals

Specified by:
setLocalClusterConsistency in interface IRemoteCacheServerAttributes
Parameters:
r - The new localClusterConsistency value

getAllowClusterGet

public boolean getAllowClusterGet()
Should cluster updates be propogated to the locals

Specified by:
getAllowClusterGet in interface IRemoteCacheServerAttributes
Returns:
The localClusterConsistency value

setAllowClusterGet

public void setAllowClusterGet(boolean r)
Should cluster updates be propogated to the locals

Specified by:
setAllowClusterGet in interface IRemoteCacheServerAttributes
Parameters:
r - The new localClusterConsistency value

getConfigFileName

public java.lang.String getConfigFileName()
Gets the ConfigFileName attribute of the IRemoteCacheAttributes object

Specified by:
getConfigFileName in interface IRemoteCacheServerAttributes
Returns:
The clusterServers value

setConfigFileName

public void setConfigFileName(java.lang.String s)
Sets the ConfigFileName attribute of the IRemoteCacheAttributes object

Specified by:
setConfigFileName in interface IRemoteCacheServerAttributes
Parameters:
s - The new clusterServers value

toString

public java.lang.String toString()
Description of the Method