public interface ITCPLateralCacheAttributes extends ILateralCacheAttributes
ILateralCacheAttributes.Type
DEFAULT_ZOMBIE_QUEUE_MAX_SIZE
Modifier and Type | Method and Description |
---|---|
int |
getOpenTimeOut() |
int |
getSocketTimeOut() |
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.
|
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 |
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.
|
getHttpListenerPort, getHttpServer, getHttpServers, getPutOnlyMode, getTransmissionType, getTransmissionTypeName, getUdpMulticastAddr, getUdpMulticastPort, getZombieQueueMaxSize, isReceive, setHttpListenerPort, setHttpServer, setHttpServers, setPutOnlyMode, setReceive, setTransmissionType, setTransmissionTypeName, setUdpMulticastAddr, setUdpMulticastPort, setZombieQueueMaxSize
clone, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName
void setTcpServer(String val)
val
- The new tcpServer valueString getTcpServer()
void setTcpServers(String val)
val
- The new tcpServers valueString getTcpServers()
void setTcpListenerPort(int val)
val
- The new tcpListenerPort valueint getTcpListenerPort()
void setUdpDiscoveryEnabled(boolean udpDiscoveryEnabled)
udpDiscoveryEnabled
- The udpDiscoveryEnabled to set.boolean isUdpDiscoveryEnabled()
int getUdpDiscoveryPort()
void setUdpDiscoveryPort(int udpDiscoveryPort)
udpDiscoveryPort
- The udpDiscoveryPort to set.String getUdpDiscoveryAddr()
void setUdpDiscoveryAddr(String udpDiscoveryAddr)
udpDiscoveryAddr
- The udpDiscoveryAddr to set.void setAllowGet(boolean allowGet)
This replaces the old putOnlyMode
allowGet
- boolean isAllowGet()
void setAllowPut(boolean allowPut)
allowPut
- boolean isAllowPut()
void setIssueRemoveOnPut(boolean issueRemoveOnPut)
issueRemoveOnPut
- boolean isIssueRemoveOnPut()
boolean isFilterRemoveByHashCode()
void setFilterRemoveByHashCode(boolean filter)
filter
- void setSocketTimeOut(int socketTimeOut)
socketTimeOut
- the socketTimeOut to setint getSocketTimeOut()
void setOpenTimeOut(int openTimeOut)
openTimeOut
- the openTimeOut to setint getOpenTimeOut()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.