public interface ILateralCacheAttributes extends 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 | Interface and Description |
|---|---|
static class |
ILateralCacheAttributes.Type |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_ZOMBIE_QUEUE_MAX_SIZE
The number of elements the zombie queue will hold.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHttpListenerPort()
Gets the httpListenerPort attribute of the ILateralCacheAttributes object
|
String |
getHttpServer()
Gets the httpServer attribute of the ILateralCacheAttributes object
|
String |
getHttpServers()
Gets the httpSrvers attribute of the LateralCacheAttributes object
|
boolean |
getPutOnlyMode() |
ILateralCacheAttributes.Type |
getTransmissionType()
Gets the transmissionType attribute of the ILateralCacheAttributes object
|
String |
getTransmissionTypeName()
Deprecated.
Use getTransmissionType
|
String |
getUdpMulticastAddr()
Gets the udpMulticastAddr attribute of the ILateralCacheAttributes object
|
int |
getUdpMulticastPort()
Gets the udpMulticastPort attribute of the ILateralCacheAttributes 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 ILateralCacheAttributes object
|
void |
setHttpServers(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(ILateralCacheAttributes.Type val)
Sets the transmissionType attribute of the ILateralCacheAttributes object
|
void |
setTransmissionTypeName(String val)
Deprecated.
Use setTransmissionType()
|
void |
setUdpMulticastAddr(String val)
Sets the udpMulticastAddr attribute of the ILateralCacheAttributes object
|
void |
setUdpMulticastPort(int val)
Sets the udpMulticastPort attribute of the ILateralCacheAttributes object
|
void |
setZombieQueueMaxSize(int zombieQueueMaxSize)
The number of elements the zombie queue will hold.
|
clone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setNamestatic final int DEFAULT_ZOMBIE_QUEUE_MAX_SIZE
void setHttpServer(String val)
val - The new httpServer valueString getHttpServer()
void setHttpListenerPort(int val)
val - The new tcpListenerPort valueint getHttpListenerPort()
void setHttpServers(String val)
val - The new httpServers valueString getHttpServers()
void setUdpMulticastAddr(String val)
val - The new udpMulticastAddr valueString getUdpMulticastAddr()
void setUdpMulticastPort(int val)
val - The new udpMulticastPort valueint getUdpMulticastPort()
void setTransmissionType(ILateralCacheAttributes.Type val)
val - The new transmissionType valueILateralCacheAttributes.Type getTransmissionType()
@Deprecated void setTransmissionTypeName(String val)
val - The new transmissionTypeName value@Deprecated 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.
void setZombieQueueMaxSize(int zombieQueueMaxSize)
zombieQueueMaxSize - The zombieQueueMaxSize to set.int getZombieQueueMaxSize()
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.