public class LateralCacheAttributes extends AbstractAuxiliaryCacheAttributes implements ILateralCacheAttributes
ILateralCacheAttributes.Type
DEFAULT_ZOMBIE_QUEUE_MAX_SIZE
Constructor and Description |
---|
LateralCacheAttributes() |
Modifier and Type | Method and Description |
---|---|
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() |
ILateralCacheAttributes.Type |
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(ILateralCacheAttributes.Type 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() |
clone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
public LateralCacheAttributes()
public void setHttpServer(String val)
setHttpServer
in interface ILateralCacheAttributes
val
- The new httpServer valuepublic String getHttpServer()
getHttpServer
in interface ILateralCacheAttributes
public void setHttpServers(String val)
setHttpServers
in interface ILateralCacheAttributes
val
- The new httpServers valuepublic String getHttpServers()
getHttpServers
in interface ILateralCacheAttributes
public void setHttpListenerPort(int val)
setHttpListenerPort
in interface ILateralCacheAttributes
val
- The new tcpListenerPort valuepublic int getHttpListenerPort()
getHttpListenerPort
in interface ILateralCacheAttributes
public void setUdpMulticastAddr(String val)
setUdpMulticastAddr
in interface ILateralCacheAttributes
val
- The new udpMulticastAddr valuepublic String getUdpMulticastAddr()
getUdpMulticastAddr
in interface ILateralCacheAttributes
public void setUdpMulticastPort(int val)
setUdpMulticastPort
in interface ILateralCacheAttributes
val
- The new udpMulticastPort valuepublic int getUdpMulticastPort()
getUdpMulticastPort
in interface ILateralCacheAttributes
public void setTransmissionType(ILateralCacheAttributes.Type val)
setTransmissionType
in interface ILateralCacheAttributes
val
- The new transmissionType valuepublic ILateralCacheAttributes.Type getTransmissionType()
getTransmissionType
in interface ILateralCacheAttributes
public void setTransmissionTypeName(String val)
setTransmissionTypeName
in interface ILateralCacheAttributes
val
- The new transmissionTypeName valuepublic String getTransmissionTypeName()
getTransmissionTypeName
in interface ILateralCacheAttributes
public void setPutOnlyMode(boolean val)
setPutOnlyMode
in interface ILateralCacheAttributes
val
- The new transmissionTypeName valuepublic boolean getPutOnlyMode()
getPutOnlyMode
in interface ILateralCacheAttributes
public void setReceive(boolean receive)
setReceive
in interface ILateralCacheAttributes
receive
- The receive to set.public boolean isReceive()
ILateralCacheAttributes
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.
isReceive
in interface ILateralCacheAttributes
public void setZombieQueueMaxSize(int zombieQueueMaxSize)
setZombieQueueMaxSize
in interface ILateralCacheAttributes
zombieQueueMaxSize
- The zombieQueueMaxSize to set.public int getZombieQueueMaxSize()
getZombieQueueMaxSize
in interface ILateralCacheAttributes
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.