public class TCPLateralCacheAttributes extends LateralCacheAttributes implements ITCPLateralCacheAttributes
ILateralCacheAttributes.TypeDEFAULT_ZOMBIE_QUEUE_MAX_SIZE| Constructor and Description |
|---|
TCPLateralCacheAttributes() |
| Modifier and Type | Method and Description |
|---|---|
int |
getOpenTimeOut() |
int |
getSocketTimeOut() |
String |
getTcpListenerHost()
Gets the tcpListenerHost attribute of the ILateralCacheAttributes object
|
int |
getTcpListenerPort()
Gets the tcpListenerPort attribute of the ILateralCacheAttributes object
|
String |
getTcpServer()
Gets the tcpServer attribute of the ILateralCacheAttributes object
|
String |
getTcpServers()
Gets the tcpServers attribute of the ILateralCacheAttributes object
|
String |
getUdpDiscoveryAddr()
The address to broadcast to if UDPDiscovery is enabled.
|
int |
getUdpDiscoveryPort()
The port to use if UDPDiscovery is enabled.
|
int |
getUdpTTL()
The time-to-live for the UDP multicast packets
|
boolean |
isAllowGet()
Is the lateral allowed to try and get from other laterals.
|
boolean |
isAllowPut()
Is the lateral allowed to put objects to other laterals.
|
boolean |
isFilterRemoveByHashCode()
Should the receiver try to match hashcodes.
|
boolean |
isIssueRemoveOnPut()
Should the client send a remove command rather than a put when update is called.
|
boolean |
isUdpDiscoveryEnabled()
Whether or not TCP laterals can try to find each other by multicast communication.
|
void |
setAllowGet(boolean allowGet)
Is the lateral allowed to try and get from other laterals.
|
void |
setAllowPut(boolean allowPut)
Is the lateral allowed to put objects to other laterals.
|
void |
setFilterRemoveByHashCode(boolean filter)
Should the receiver try to match hashcodes.
|
void |
setIssueRemoveOnPut(boolean issueRemoveOnPut)
Should the client send a remove command rather than a put when update is called.
|
void |
setOpenTimeOut(int openTimeOut) |
void |
setSocketTimeOut(int socketTimeOut) |
void |
setTcpListenerHost(String val)
Sets the tcpListenerHost attribute of the ILateralCacheAttributes object
|
void |
setTcpListenerPort(int val)
Sets the tcpListenerPort attribute of the ILateralCacheAttributes object
|
void |
setTcpServer(String val)
Sets the tcpServer attribute of the ILateralCacheAttributes object
|
void |
setTcpServers(String val)
Sets the tcpServers attribute of the ILateralCacheAttributes object
|
void |
setUdpDiscoveryAddr(String udpDiscoveryAddr)
Sets the address to broadcast to if UDPDiscovery is enabled.
|
void |
setUdpDiscoveryEnabled(boolean udpDiscoveryEnabled)
Can setup UDP Discovery.
|
void |
setUdpDiscoveryPort(int udpDiscoveryPort)
Sets the port to use if UDPDiscovery is enabled.
|
void |
setUdpTTL(int udpTTL)
Sets the time-to-live for the UDP multicast packet
|
String |
toString()
Used to key the instance TODO create another method for this and use toString for debugging
only.
|
getHttpListenerPort, getHttpServer, getHttpServers, getPutOnlyMode, getTransmissionType, getTransmissionTypeName, getUdpMulticastAddr, getUdpMulticastPort, getZombieQueueMaxSize, isReceive, setHttpListenerPort, setHttpServer, setHttpServers, setPutOnlyMode, setReceive, setTransmissionType, setTransmissionTypeName, setUdpMulticastAddr, setUdpMulticastPort, setZombieQueueMaxSizeclone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setNameequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetHttpListenerPort, getHttpServer, getHttpServers, getPutOnlyMode, getTransmissionType, getTransmissionTypeName, getUdpMulticastAddr, getUdpMulticastPort, getZombieQueueMaxSize, isReceive, setHttpListenerPort, setHttpServer, setHttpServers, setPutOnlyMode, setReceive, setTransmissionType, setTransmissionTypeName, setUdpMulticastAddr, setUdpMulticastPort, setZombieQueueMaxSizeclone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setNamepublic void setTcpServer(String val)
setTcpServer in interface ITCPLateralCacheAttributesval - The new tcpServer valuepublic String getTcpServer()
getTcpServer in interface ITCPLateralCacheAttributespublic void setTcpServers(String val)
setTcpServers in interface ITCPLateralCacheAttributesval - The new tcpServers valuepublic String getTcpServers()
getTcpServers in interface ITCPLateralCacheAttributespublic void setTcpListenerPort(int val)
setTcpListenerPort in interface ITCPLateralCacheAttributesval - The new tcpListenerPort valuepublic int getTcpListenerPort()
getTcpListenerPort in interface ITCPLateralCacheAttributespublic void setTcpListenerHost(String val)
setTcpListenerHost in interface ITCPLateralCacheAttributesval - The new tcpListenerHost valuepublic String getTcpListenerHost()
getTcpListenerHost in interface ITCPLateralCacheAttributespublic void setUdpDiscoveryEnabled(boolean udpDiscoveryEnabled)
setUdpDiscoveryEnabled in interface ITCPLateralCacheAttributesudpDiscoveryEnabled - The udpDiscoveryEnabled to set.public boolean isUdpDiscoveryEnabled()
isUdpDiscoveryEnabled in interface ITCPLateralCacheAttributespublic int getUdpDiscoveryPort()
getUdpDiscoveryPort in interface ITCPLateralCacheAttributespublic void setUdpDiscoveryPort(int udpDiscoveryPort)
setUdpDiscoveryPort in interface ITCPLateralCacheAttributesudpDiscoveryPort - The udpDiscoveryPort to set.public String getUdpDiscoveryAddr()
getUdpDiscoveryAddr in interface ITCPLateralCacheAttributespublic void setUdpDiscoveryAddr(String udpDiscoveryAddr)
setUdpDiscoveryAddr in interface ITCPLateralCacheAttributesudpDiscoveryAddr - The udpDiscoveryAddr to set.public int getUdpTTL()
getUdpTTL in interface ITCPLateralCacheAttributespublic void setUdpTTL(int udpTTL)
setUdpTTL in interface ITCPLateralCacheAttributesudpTTL - The udpTTL to set.public void setAllowGet(boolean allowGet)
This replaces the old putOnlyMode
setAllowGet in interface ITCPLateralCacheAttributesallowGet - public boolean isAllowGet()
isAllowGet in interface ITCPLateralCacheAttributespublic void setAllowPut(boolean allowPut)
setAllowPut in interface ITCPLateralCacheAttributesallowPut - public boolean isAllowPut()
isAllowPut in interface ITCPLateralCacheAttributespublic void setIssueRemoveOnPut(boolean issueRemoveOnPut)
setIssueRemoveOnPut in interface ITCPLateralCacheAttributesissueRemoveOnPut - public boolean isIssueRemoveOnPut()
isIssueRemoveOnPut in interface ITCPLateralCacheAttributespublic boolean isFilterRemoveByHashCode()
isFilterRemoveByHashCode in interface ITCPLateralCacheAttributespublic void setFilterRemoveByHashCode(boolean filter)
setFilterRemoveByHashCode in interface ITCPLateralCacheAttributesfilter - public void setSocketTimeOut(int socketTimeOut)
setSocketTimeOut in interface ITCPLateralCacheAttributessocketTimeOut - the socketTimeOut to setpublic int getSocketTimeOut()
getSocketTimeOut in interface ITCPLateralCacheAttributespublic void setOpenTimeOut(int openTimeOut)
setOpenTimeOut in interface ITCPLateralCacheAttributesopenTimeOut - the openTimeOut to setpublic int getOpenTimeOut()
getOpenTimeOut in interface ITCPLateralCacheAttributespublic String toString()
toString in class LateralCacheAttributesCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.