Class LateralCacheAttributes
java.lang.Object
org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCacheAttributes
org.apache.commons.jcs3.auxiliary.lateral.LateralCacheAttributes
- All Implemented Interfaces:
- Serializable,- Cloneable,- AuxiliaryCacheAttributes,- ILateralCacheAttributes
- Direct Known Subclasses:
- TCPLateralCacheAttributes
public class LateralCacheAttributes
extends AbstractAuxiliaryCacheAttributes
implements ILateralCacheAttributes
This class stores attributes for all of the available lateral cache auxiliaries.
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.commons.jcs3.auxiliary.lateral.behavior.ILateralCacheAttributesILateralCacheAttributes.Type
- 
Field SummaryFields inherited from interface org.apache.commons.jcs3.auxiliary.lateral.behavior.ILateralCacheAttributesDEFAULT_ZOMBIE_QUEUE_MAX_SIZE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintGets the httpListenerPort attribute of the ILateralCacheAttributes objectGets the httpServer attribute of the LateralCacheAttributes objectGets the httpSrvers attribute of the LateralCacheAttributes objectbooleanGets the transmissionType attribute of the LateralCacheAttributes objectDeprecated.Gets the udpMulticastAddr attribute of the LateralCacheAttributes objectintGets the udpMulticastPort attribute of the LateralCacheAttributes objectintThe number of elements the zombie queue will hold.booleanShould a listener be created.voidsetHttpListenerPort(int val) Sets the httpListenerPort attribute of the ILateralCacheAttributes objectvoidsetHttpServer(String val) Sets the httpServer attribute of the LateralCacheAttributes objectvoidsetHttpServers(String val) Sets the httpServers attribute of the LateralCacheAttributes objectvoidsetPutOnlyMode(boolean val) Sets the outgoingOnlyMode attribute of the ILateralCacheAttributes.voidsetReceive(boolean receive) voidSets the transmissionType attribute of the LateralCacheAttributes objectvoidDeprecated.voidSets the udpMulticastAddr attribute of the LateralCacheAttributes objectvoidsetUdpMulticastPort(int val) Sets the udpMulticastPort attribute of the LateralCacheAttributes objectvoidsetZombieQueueMaxSize(int zombieQueueMaxSize) The number of elements the zombie queue will hold.toString()Methods inherited from class org.apache.commons.jcs3.auxiliary.AbstractAuxiliaryCacheAttributesclone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setNameMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.commons.jcs3.auxiliary.AuxiliaryCacheAttributesclone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
- 
Constructor Details- 
LateralCacheAttributespublic LateralCacheAttributes()
 
- 
- 
Method Details- 
setHttpServerSets the httpServer attribute of the LateralCacheAttributes object- Specified by:
- setHttpServerin interface- ILateralCacheAttributes
- Parameters:
- val- The new httpServer value
 
- 
getHttpServerGets the httpServer attribute of the LateralCacheAttributes object- Specified by:
- getHttpServerin interface- ILateralCacheAttributes
- Returns:
- The httpServer value
 
- 
setHttpServersSets the httpServers attribute of the LateralCacheAttributes object- Specified by:
- setHttpServersin interface- ILateralCacheAttributes
- Parameters:
- val- The new httpServers value
 
- 
getHttpServersGets the httpSrvers attribute of the LateralCacheAttributes object- Specified by:
- getHttpServersin interface- ILateralCacheAttributes
- Returns:
- The httpServers value
 
- 
setHttpListenerPortSets the httpListenerPort attribute of the ILateralCacheAttributes object- Specified by:
- setHttpListenerPortin interface- ILateralCacheAttributes
- Parameters:
- val- The new tcpListenerPort value
 
- 
getHttpListenerPortGets the httpListenerPort attribute of the ILateralCacheAttributes object- Specified by:
- getHttpListenerPortin interface- ILateralCacheAttributes
- Returns:
- The httpListenerPort value
 
- 
setUdpMulticastAddrSets the udpMulticastAddr attribute of the LateralCacheAttributes object- Specified by:
- setUdpMulticastAddrin interface- ILateralCacheAttributes
- Parameters:
- val- The new udpMulticastAddr value
 
- 
getUdpMulticastAddrGets the udpMulticastAddr attribute of the LateralCacheAttributes object- Specified by:
- getUdpMulticastAddrin interface- ILateralCacheAttributes
- Returns:
- The udpMulticastAddr value
 
- 
setUdpMulticastPortSets the udpMulticastPort attribute of the LateralCacheAttributes object- Specified by:
- setUdpMulticastPortin interface- ILateralCacheAttributes
- Parameters:
- val- The new udpMulticastPort value
 
- 
getUdpMulticastPortGets the udpMulticastPort attribute of the LateralCacheAttributes object- Specified by:
- getUdpMulticastPortin interface- ILateralCacheAttributes
- Returns:
- The udpMulticastPort value
 
- 
setTransmissionTypeSets the transmissionType attribute of the LateralCacheAttributes object- Specified by:
- setTransmissionTypein interface- ILateralCacheAttributes
- Parameters:
- val- The new transmissionType value
 
- 
getTransmissionTypeGets the transmissionType attribute of the LateralCacheAttributes object- Specified by:
- getTransmissionTypein interface- ILateralCacheAttributes
- Returns:
- The transmissionType value
 
- 
setTransmissionTypeNameDeprecated.Sets the transmissionTypeName attribute of the LateralCacheAttributes object- Specified by:
- setTransmissionTypeNamein interface- ILateralCacheAttributes
- Parameters:
- val- The new transmissionTypeName value
 
- 
getTransmissionTypeNameDeprecated.Gets the transmissionTypeName attribute of the LateralCacheAttributes object- Specified by:
- getTransmissionTypeNamein interface- ILateralCacheAttributes
- Returns:
- The transmissionTypeName value
 
- 
setPutOnlyModeSets 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:
- setPutOnlyModein interface- ILateralCacheAttributes
- Parameters:
- val- The new transmissionTypeName value
 
- 
getPutOnlyMode- Specified by:
- getPutOnlyModein interface- ILateralCacheAttributes
- Returns:
- The outgoingOnlyMode value. Stops gets from going remote.
 
- 
setReceive- Specified by:
- setReceivein interface- ILateralCacheAttributes
- Parameters:
- receive- The receive to set.
 
- 
isReceiveDescription copied from interface:ILateralCacheAttributesShould a listener be created. By default this is true.If 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. - Specified by:
- isReceivein interface- ILateralCacheAttributes
- Returns:
- Returns the receive.
 
- 
setZombieQueueMaxSizeThe number of elements the zombie queue will hold. This queue is used to store events if we loose our connection with the server.- Specified by:
- setZombieQueueMaxSizein interface- ILateralCacheAttributes
- Parameters:
- zombieQueueMaxSize- The zombieQueueMaxSize to set.
 
- 
getZombieQueueMaxSizeThe number of elements the zombie queue will hold. This queue is used to store events if we loose our connection with the server.- Specified by:
- getZombieQueueMaxSizein interface- ILateralCacheAttributes
- Returns:
- Returns the zombieQueueMaxSize.
 
- 
toString
 
-