|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
org.apache.jcs.auxiliary.lateral.LateralCacheAttributes
public class LateralCacheAttributes
This class stores attributes for all of the available lateral cache auxiliaries.
| Field Summary |
|---|
| Fields inherited from class org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes |
|---|
cacheName, eventQueuePoolName, eventQueueType, name |
| Fields inherited from interface org.apache.jcs.auxiliary.lateral.behavior.ILateralCacheAttributes |
|---|
DEFAULT_ZOMBIE_QUEUE_MAX_SIZE, HTTP, TCP, UDP, XMLRPC |
| Fields inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes |
|---|
POOLED_QUEUE_TYPE, SINGLE_QUEUE_TYPE |
| Constructor Summary | |
|---|---|
LateralCacheAttributes()
|
|
| Method Summary | |
|---|---|
AuxiliaryCacheAttributes |
copy()
Returns a clone of the attributes. |
int |
getHttpListenerPort()
Gets the httpListenerPort attribute of the ILateralCacheAttributes object |
String |
getHttpServer()
Gets the httpServer attribute of the LateralCacheAttributes object |
String |
getHttpServers()
Gets the httpSrvers attribute of the LateralCacheAttributes object |
boolean |
getPutOnlyMode()
|
int |
getTransmissionType()
Gets the transmissionType attribute of the LateralCacheAttributes object |
String |
getTransmissionTypeName()
Gets the transmissionTypeName attribute of the LateralCacheAttributes object |
String |
getUdpMulticastAddr()
Gets the udpMulticastAddr attribute of the LateralCacheAttributes object |
int |
getUdpMulticastPort()
Gets the udpMulticastPort attribute of the LateralCacheAttributes object |
int |
getZombieQueueMaxSize()
The number of elements the zombie queue will hold. |
boolean |
isReceive()
Should a listener be created. |
void |
setHttpListenerPort(int val)
Sets the httpListenerPort attribute of the ILateralCacheAttributes object |
void |
setHttpServer(String val)
Sets the httpServer attribute of the LateralCacheAttributes object |
void |
setHttpServers(String val)
Sets the httpServers attribute of the LateralCacheAttributes object |
void |
setPutOnlyMode(boolean val)
Sets the outgoingOnlyMode attribute of the ILateralCacheAttributes. |
void |
setReceive(boolean receive)
|
void |
setTransmissionType(int val)
Sets the transmissionType attribute of the LateralCacheAttributes object |
void |
setTransmissionTypeName(String val)
Sets the transmissionTypeName attribute of the LateralCacheAttributes object |
void |
setUdpMulticastAddr(String val)
Sets the udpMulticastAddr attribute of the LateralCacheAttributes object |
void |
setUdpMulticastPort(int val)
Sets the udpMulticastPort attribute of the LateralCacheAttributes object |
void |
setZombieQueueMaxSize(int zombieQueueMaxSize)
The number of elements the zombie queue will hold. |
String |
toString()
|
| Methods inherited from class org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes |
|---|
getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes |
|---|
getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName |
| Constructor Detail |
|---|
public LateralCacheAttributes()
| Method Detail |
|---|
public void setHttpServer(String val)
setHttpServer in interface ILateralCacheAttributesval - The new httpServer valuepublic String getHttpServer()
getHttpServer in interface ILateralCacheAttributespublic void setHttpServers(String val)
setHttpServers in interface ILateralCacheAttributesval - The new httpServers valuepublic String getHttpServers()
getHttpServers in interface ILateralCacheAttributespublic void setHttpListenerPort(int val)
setHttpListenerPort in interface ILateralCacheAttributesval - The new tcpListenerPort valuepublic int getHttpListenerPort()
getHttpListenerPort in interface ILateralCacheAttributespublic void setUdpMulticastAddr(String val)
setUdpMulticastAddr in interface ILateralCacheAttributesval - The new udpMulticastAddr valuepublic String getUdpMulticastAddr()
getUdpMulticastAddr in interface ILateralCacheAttributespublic void setUdpMulticastPort(int val)
setUdpMulticastPort in interface ILateralCacheAttributesval - The new udpMulticastPort valuepublic int getUdpMulticastPort()
getUdpMulticastPort in interface ILateralCacheAttributespublic void setTransmissionType(int val)
setTransmissionType in interface ILateralCacheAttributesval - The new transmissionType valuepublic int getTransmissionType()
getTransmissionType in interface ILateralCacheAttributespublic void setTransmissionTypeName(String val)
setTransmissionTypeName in interface ILateralCacheAttributesval - The new transmissionTypeName valuepublic String getTransmissionTypeName()
getTransmissionTypeName in interface ILateralCacheAttributespublic void setPutOnlyMode(boolean val)
setPutOnlyMode in interface ILateralCacheAttributesval - The new transmissionTypeName valuepublic boolean getPutOnlyMode()
getPutOnlyMode in interface ILateralCacheAttributespublic AuxiliaryCacheAttributes copy()
copy in interface AuxiliaryCacheAttributespublic void setReceive(boolean receive)
setReceive in interface ILateralCacheAttributesreceive - The receive to set.public boolean isReceive()
ILateralCacheAttributesIf this is false the lateral will connect to others but it will not create a listener to receive.
It is possible if two laterals are misconfigured that lateral A may have a region R1 that is not configured for the lateral but another is. And if cache B has region R1 configured for lateral distribution, A will get messages for R1 but not send them.
isReceive in interface ILateralCacheAttributespublic void setZombieQueueMaxSize(int zombieQueueMaxSize)
setZombieQueueMaxSize in interface ILateralCacheAttributeszombieQueueMaxSize - The zombieQueueMaxSize to set.public int getZombieQueueMaxSize()
getZombieQueueMaxSize in interface ILateralCacheAttributespublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||