org.apache.jcs.auxiliary.remote
Class RemoteCacheAttributes

java.lang.Object
  extended byorg.apache.jcs.auxiliary.remote.RemoteCacheAttributes
All Implemented Interfaces:
AuxiliaryCacheAttributes, java.lang.Cloneable, IRemoteCacheAttributes, java.io.Serializable

public class RemoteCacheAttributes
extends java.lang.Object
implements IRemoteCacheAttributes

Description of the Class

Author:
asmuts
See Also:
Serialized Form

Field Summary
private  java.lang.String cacheName
           
private  java.lang.String clusterServers
           
private  int failoverIndex
           
private  java.lang.String[] failovers
           
private  java.lang.String failoverServers
           
private  boolean getFromCluster
           
private  boolean getOnly
           
private  boolean localClusterConsistency
           
private  int localPort
           
private  java.lang.String name
           
private  java.lang.String remoteHost
           
private  int remotePort
           
private  java.lang.String remoteServiceName
           
private  int remoteType
           
private  boolean removeUponRemotePut
           
 
Fields inherited from interface org.apache.jcs.auxiliary.remote.behavior.IRemoteCacheAttributes
CLUSTER, LOCAL
 
Constructor Summary
RemoteCacheAttributes()
          Constructor for the RemoteCacheAttributes object
 
Method Summary
 AuxiliaryCacheAttributes copy()
          Description of the Method
 java.lang.String getCacheName()
          Gets the cacheName attribute of the RemoteCacheAttributes object
 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
 boolean getLocalClusterConsistency()
          Should cluster updates be propogated to the locals
 int getLocalPort()
          Gets the localPort attribute of the RemoteCacheAttributes object
 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
 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 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 setLocalClusterConsistency(boolean r)
          Should cluster updates be propogated to the locals
 void setLocalPort(int p)
          Sets the localPort attribute of the RemoteCacheAttributes object
 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
 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

failoverServers

private java.lang.String failoverServers

clusterServers

private java.lang.String clusterServers

getFromCluster

private boolean getFromCluster

localPort

private int localPort

remoteType

private int remoteType

failoverIndex

private int failoverIndex

failovers

private java.lang.String[] failovers

removeUponRemotePut

private boolean removeUponRemotePut

getOnly

private boolean getOnly

localClusterConsistency

private boolean localClusterConsistency
Constructor Detail

RemoteCacheAttributes

public RemoteCacheAttributes()
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 IRemoteCacheAttributes
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 IRemoteCacheAttributes
Parameters:
s - The new remoteTypeName value

getFailoverIndex

public int getFailoverIndex()
Gets the failoverIndex attribute of the RemoteCacheAttributes object

Specified by:
getFailoverIndex in interface IRemoteCacheAttributes
Returns:
The failoverIndex value

setFailoverIndex

public void setFailoverIndex(int p)
Sets the failoverIndex attribute of the RemoteCacheAttributes object

Specified by:
setFailoverIndex in interface IRemoteCacheAttributes
Parameters:
p - The new failoverIndex value

getFailovers

public java.lang.String[] getFailovers()
Gets the failovers attribute of the RemoteCacheAttributes object

Specified by:
getFailovers in interface IRemoteCacheAttributes
Returns:
The failovers value

setFailovers

public void setFailovers(java.lang.String[] f)
Sets the failovers attribute of the RemoteCacheAttributes object

Specified by:
setFailovers in interface IRemoteCacheAttributes
Parameters:
f - The new failovers value

getRemoteType

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

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

setRemoteType

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

Specified by:
setRemoteType in interface IRemoteCacheAttributes
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

Specified by:
getRemoteServiceName in interface IRemoteCacheAttributes
Returns:
The remoteServiceName value

setRemoteServiceName

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

Specified by:
setRemoteServiceName in interface IRemoteCacheAttributes
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 IRemoteCacheAttributes
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 IRemoteCacheAttributes
Parameters:
s - The new remoteHost value

getRemotePort

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

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

setRemotePort

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

Specified by:
setRemotePort in interface IRemoteCacheAttributes
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 IRemoteCacheAttributes
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 IRemoteCacheAttributes
Parameters:
s - The new clusterServers value

getFailoverServers

public java.lang.String getFailoverServers()
Gets the failoverServers attribute of the RemoteCacheAttributes object

Specified by:
getFailoverServers in interface IRemoteCacheAttributes
Returns:
The failoverServers value

setFailoverServers

public void setFailoverServers(java.lang.String s)
Sets the failoverServers attribute of the RemoteCacheAttributes object

Specified by:
setFailoverServers in interface IRemoteCacheAttributes
Parameters:
s - The new failoverServers value

getLocalPort

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

Specified by:
getLocalPort in interface IRemoteCacheAttributes
Returns:
The localPort value

setLocalPort

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

Specified by:
setLocalPort in interface IRemoteCacheAttributes
Parameters:
p - The new localPort value

getRemoveUponRemotePut

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

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

setRemoveUponRemotePut

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

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

getGetOnly

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

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

setGetOnly

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

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

getLocalClusterConsistency

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

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

setLocalClusterConsistency

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

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

toString

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