public interface ILateralCacheAttributes extends java.io.Serializable, AuxiliaryCacheAttributes
TODO it needs to be trimmed down. The old version had features for every lateral. Now, the individual laterals have their own specific attributes interfaces.
Modifier and Type | Field and Description |
---|---|
static int |
HTTP
HTTP type
|
static int |
TCP
TCP type
|
static int |
UDP
UDP type
|
static int |
XMLRPC
XMLRPC type
|
POOLED_QUEUE_TYPE, SINGLE_QUEUE_TYPE
Modifier and Type | Method and Description |
---|---|
int |
getHttpListenerPort()
Gets the httpListenerPort attribute of the ILateralCacheAttributes object
|
java.lang.String |
getHttpServer()
Gets the httpServer attribute of the ILateralCacheAttributes object
|
java.lang.String |
getHttpServers()
Gets the httpSrvers attribute of the LateralCacheAttributes object
|
boolean |
getPutOnlyMode() |
int |
getTransmissionType()
Gets the transmissionType attribute of the ILateralCacheAttributes object
|
java.lang.String |
getTransmissionTypeName()
Gets the transmissionTypeName attribute of the ILateralCacheAttributes object
|
java.lang.String |
getUdpMulticastAddr()
Gets the udpMulticastAddr attribute of the ILateralCacheAttributes object
|
int |
getUdpMulticastPort()
Gets the udpMulticastPort attribute of the ILateralCacheAttributes object
|
boolean |
isReceive()
Should a listener be created.
|
void |
setHttpListenerPort(int val)
Sets the httpListenerPort attribute of the ILateralCacheAttributes object
|
void |
setHttpServer(java.lang.String val)
Sets the httpServer attribute of the ILateralCacheAttributes object
|
void |
setHttpServers(java.lang.String val)
Sets the httpServers attribute of the LateralCacheAttributes object
|
void |
setPutOnlyMode(boolean val)
Sets the putOnlyMode attribute of the ILateralCacheAttributes.
|
void |
setReceive(boolean receive) |
void |
setTransmissionType(int val)
Sets the transmissionType attribute of the ILateralCacheAttributes object
|
void |
setTransmissionTypeName(java.lang.String val)
Sets the transmissionTypeName attribute of the ILateralCacheAttributes object
|
void |
setUdpMulticastAddr(java.lang.String val)
Sets the udpMulticastAddr attribute of the ILateralCacheAttributes object
|
void |
setUdpMulticastPort(int val)
Sets the udpMulticastPort attribute of the ILateralCacheAttributes object
|
copy, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
static final int HTTP
static final int UDP
static final int TCP
static final int XMLRPC
void setHttpServer(java.lang.String val)
val
- The new httpServer valuejava.lang.String getHttpServer()
void setHttpListenerPort(int val)
val
- The new tcpListenerPort valueint getHttpListenerPort()
void setHttpServers(java.lang.String val)
val
- The new httpServers valuejava.lang.String getHttpServers()
void setUdpMulticastAddr(java.lang.String val)
val
- The new udpMulticastAddr valuejava.lang.String getUdpMulticastAddr()
void setUdpMulticastPort(int val)
val
- The new udpMulticastPort valueint getUdpMulticastPort()
void setTransmissionType(int val)
val
- The new transmissionType valueint getTransmissionType()
void setTransmissionTypeName(java.lang.String val)
val
- The new transmissionTypeName valuejava.lang.String getTransmissionTypeName()
void setPutOnlyMode(boolean val)
val
- The new transmissionTypeName valueboolean getPutOnlyMode()
void setReceive(boolean receive)
receive
- The receive to set.boolean isReceive()
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.
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.