org.apache.jcs.auxiliary.lateral
Class LateralCacheAttributes

java.lang.Object
  extended byorg.apache.jcs.auxiliary.lateral.LateralCacheAttributes
All Implemented Interfaces:
AuxiliaryCacheAttributes, java.lang.Cloneable, ILateralCacheAttributes, java.io.Serializable

public class LateralCacheAttributes
extends java.lang.Object
implements java.io.Serializable, ILateralCacheAttributes

Description of the Class

Author:
asmuts
See Also:
Serialized Form

Field Summary
private  java.lang.String cacheName
           
(package private)  java.lang.String httpDeleteServlet
           
(package private)  int httpListenerPort
           
(package private)  java.lang.String httpReceiveServlet
           
(package private)  java.lang.String httpServer
           
(package private)  java.lang.String httpServers
           
private  java.lang.String name
           
(package private)  boolean putOnlyMode
           
(package private)  int tcpListenerPort
           
(package private)  java.lang.String tcpServer
           
(package private)  java.lang.String tcpServers
           
(package private)  int transmissionType
           
(package private)  java.lang.String transmissionTypeName
           
(package private)  java.lang.String udpMulticastAddr
           
(package private)  int udpMulticastPort
           
 
Fields inherited from interface org.apache.jcs.auxiliary.lateral.behavior.ILateralCacheAttributes
HTTP, JAVAGROUPS, TCP, UDP, XMLRPC
 
Constructor Summary
LateralCacheAttributes()
           
 
Method Summary
 AuxiliaryCacheAttributes copy()
          Returns a clone of the attributes.
 java.lang.String getCacheName()
          Gets the cacheName attribute of the LateralCacheAttributes object
 int getHttpListenerPort()
          Gets the httpListenerPort attribute of the ILateralCacheAttributes object
 java.lang.String getHttpServer()
          Gets the httpServer attribute of the LateralCacheAttributes object
 java.lang.String getHttpServers()
          Gets the httpSrvers attribute of the LateralCacheAttributes object
 java.lang.String getName()
          Gets the name attribute of the LateralCacheAttributes object
 boolean getPutOnlyMode()
           
 int getTcpListenerPort()
          Gets the tcpListenerPort attribute of the LateralCacheAttributes object
 java.lang.String getTcpServer()
          Gets the tcpServer attribute of the LateralCacheAttributes object
 java.lang.String getTcpServers()
          Gets the tcpServers attribute of the LateralCacheAttributes object
 int getTransmissionType()
          Gets the transmissionType attribute of the LateralCacheAttributes object
 java.lang.String getTransmissionTypeName()
          Gets the transmissionTypeName attribute of the LateralCacheAttributes object
 java.lang.String getUdpMulticastAddr()
          Gets the udpMulticastAddr attribute of the LateralCacheAttributes object
 int getUdpMulticastPort()
          Gets the udpMulticastPort attribute of the LateralCacheAttributes object
 void setCacheName(java.lang.String s)
          Sets the cacheName attribute of the LateralCacheAttributes object
 void setHttpListenerPort(int val)
          Sets the httpListenerPort attribute of the ILateralCacheAttributes object
 void setHttpServer(java.lang.String val)
          Sets the httpServer attribute of the LateralCacheAttributes object
 void setHttpServers(java.lang.String val)
          Sets the httpServers attribute of the LateralCacheAttributes object
 void setName(java.lang.String name)
          Sets the name attribute of the LateralCacheAttributes object
 void setPutOnlyMode(boolean val)
          Sets the outgoingOnlyMode attribute of the ILateralCacheAttributes.
 void setTcpListenerPort(int val)
          Sets the tcpListenerPort attribute of the LateralCacheAttributes object
 void setTcpServer(java.lang.String val)
          Sets the tcpServer attribute of the LateralCacheAttributes object
 void setTcpServers(java.lang.String val)
          Sets the tcpServers attribute of the LateralCacheAttributes object
 void setTransmissionType(int val)
          Sets the transmissionType attribute of the LateralCacheAttributes object
 void setTransmissionTypeName(java.lang.String val)
          Sets the transmissionTypeName attribute of the LateralCacheAttributes object
 void setUdpMulticastAddr(java.lang.String val)
          Sets the udpMulticastAddr attribute of the LateralCacheAttributes object
 void setUdpMulticastPort(int val)
          Sets the udpMulticastPort attribute of the LateralCacheAttributes 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

transmissionTypeName

java.lang.String transmissionTypeName

transmissionType

int transmissionType

httpServers

java.lang.String httpServers

httpServer

java.lang.String httpServer

httpReceiveServlet

java.lang.String httpReceiveServlet

httpDeleteServlet

java.lang.String httpDeleteServlet

udpMulticastAddr

java.lang.String udpMulticastAddr

udpMulticastPort

int udpMulticastPort

tcpServers

java.lang.String tcpServers

tcpServer

java.lang.String tcpServer

tcpListenerPort

int tcpListenerPort

httpListenerPort

int httpListenerPort

cacheName

private java.lang.String cacheName

name

private java.lang.String name

putOnlyMode

boolean putOnlyMode
Constructor Detail

LateralCacheAttributes

public LateralCacheAttributes()
Method Detail

setHttpServer

public void setHttpServer(java.lang.String val)
Sets the httpServer attribute of the LateralCacheAttributes object

Specified by:
setHttpServer in interface ILateralCacheAttributes
Parameters:
val - The new httpServer value

getHttpServer

public java.lang.String getHttpServer()
Gets the httpServer attribute of the LateralCacheAttributes object

Specified by:
getHttpServer in interface ILateralCacheAttributes
Returns:
The httpServer value

setTcpServers

public void setTcpServers(java.lang.String val)
Sets the tcpServers attribute of the LateralCacheAttributes object

Specified by:
setTcpServers in interface ILateralCacheAttributes
Parameters:
val - The new tcpServers value

getTcpServers

public java.lang.String getTcpServers()
Gets the tcpServers attribute of the LateralCacheAttributes object

Specified by:
getTcpServers in interface ILateralCacheAttributes
Returns:
The tcpServers value

setHttpServers

public void setHttpServers(java.lang.String val)
Sets the httpServers attribute of the LateralCacheAttributes object

Specified by:
setHttpServers in interface ILateralCacheAttributes
Parameters:
val - The new httpServers value

getHttpServers

public java.lang.String getHttpServers()
Gets the httpSrvers attribute of the LateralCacheAttributes object

Specified by:
getHttpServers in interface ILateralCacheAttributes
Returns:
The httpServers value

setTcpServer

public void setTcpServer(java.lang.String val)
Sets the tcpServer attribute of the LateralCacheAttributes object

Specified by:
setTcpServer in interface ILateralCacheAttributes
Parameters:
val - The new tcpServer value

getTcpServer

public java.lang.String getTcpServer()
Gets the tcpServer attribute of the LateralCacheAttributes object

Specified by:
getTcpServer in interface ILateralCacheAttributes
Returns:
The tcpServer value

setTcpListenerPort

public void setTcpListenerPort(int val)
Sets the tcpListenerPort attribute of the LateralCacheAttributes object

Specified by:
setTcpListenerPort in interface ILateralCacheAttributes
Parameters:
val - The new tcpListenerPort value

getTcpListenerPort

public int getTcpListenerPort()
Gets the tcpListenerPort attribute of the LateralCacheAttributes object

Specified by:
getTcpListenerPort in interface ILateralCacheAttributes
Returns:
The tcpListenerPort value

setHttpListenerPort

public void setHttpListenerPort(int val)
Sets the httpListenerPort attribute of the ILateralCacheAttributes object

Specified by:
setHttpListenerPort in interface ILateralCacheAttributes
Parameters:
val - The new tcpListenerPort value

getHttpListenerPort

public int getHttpListenerPort()
Gets the httpListenerPort attribute of the ILateralCacheAttributes object

Specified by:
getHttpListenerPort in interface ILateralCacheAttributes
Returns:
The httpListenerPort value

setUdpMulticastAddr

public void setUdpMulticastAddr(java.lang.String val)
Sets the udpMulticastAddr attribute of the LateralCacheAttributes object

Specified by:
setUdpMulticastAddr in interface ILateralCacheAttributes
Parameters:
val - The new udpMulticastAddr value

getUdpMulticastAddr

public java.lang.String getUdpMulticastAddr()
Gets the udpMulticastAddr attribute of the LateralCacheAttributes object

Specified by:
getUdpMulticastAddr in interface ILateralCacheAttributes
Returns:
The udpMulticastAddr value

setUdpMulticastPort

public void setUdpMulticastPort(int val)
Sets the udpMulticastPort attribute of the LateralCacheAttributes object

Specified by:
setUdpMulticastPort in interface ILateralCacheAttributes
Parameters:
val - The new udpMulticastPort value

getUdpMulticastPort

public int getUdpMulticastPort()
Gets the udpMulticastPort attribute of the LateralCacheAttributes object

Specified by:
getUdpMulticastPort in interface ILateralCacheAttributes
Returns:
The udpMulticastPort value

setTransmissionType

public void setTransmissionType(int val)
Sets the transmissionType attribute of the LateralCacheAttributes object

Specified by:
setTransmissionType in interface ILateralCacheAttributes
Parameters:
val - The new transmissionType value

getTransmissionType

public int getTransmissionType()
Gets the transmissionType attribute of the LateralCacheAttributes object

Specified by:
getTransmissionType in interface ILateralCacheAttributes
Returns:
The transmissionType value

setTransmissionTypeName

public void setTransmissionTypeName(java.lang.String val)
Sets the transmissionTypeName attribute of the LateralCacheAttributes object

Specified by:
setTransmissionTypeName in interface ILateralCacheAttributes
Parameters:
val - The new transmissionTypeName value

getTransmissionTypeName

public java.lang.String getTransmissionTypeName()
Gets the transmissionTypeName attribute of the LateralCacheAttributes object

Specified by:
getTransmissionTypeName in interface ILateralCacheAttributes
Returns:
The transmissionTypeName value

setCacheName

public void setCacheName(java.lang.String s)
Sets the cacheName attribute of the LateralCacheAttributes 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 LateralCacheAttributes object

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

getName

public java.lang.String getName()
Gets the name attribute of the LateralCacheAttributes 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 LateralCacheAttributes object

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

setPutOnlyMode

public void setPutOnlyMode(boolean val)
Sets the outgoingOnlyMode attribute of the ILateralCacheAttributes. When this is true the lateral cache will only issue put and remove order and will not try to retrieve elements from other lateral caches.

Specified by:
setPutOnlyMode in interface ILateralCacheAttributes
Parameters:
val - The new transmissionTypeName value

getPutOnlyMode

public boolean getPutOnlyMode()
Specified by:
getPutOnlyMode in interface ILateralCacheAttributes
Returns:
The outgoingOnlyMode value. Stops gets from going remote.

copy

public AuxiliaryCacheAttributes copy()
Returns a clone of the attributes.

Specified by:
copy in interface AuxiliaryCacheAttributes
Returns:
Self

toString

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

Returns: