Class HotRodRouterConfiguration
- java.lang.Object
-
- org.infinispan.server.router.configuration.HotRodRouterConfiguration
-
-
Constructor Summary
Constructors Constructor Description HotRodRouterConfiguration(InetAddress ip, int port, int sendBufferSize, int receiveBufferSize, boolean tcpKeepAlive, boolean tcpNoDelay)Creates new configuration based on the IP address and port.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InetAddressgetIp()intgetPort()intreceiveBufferSize()Returns Receive buffer size.intsendBufferSize()Returns Send buffer size.booleantcpKeepAlive()Returns TCP Keep Alive setting.booleantcpNoDelay()Returns TCP No Delay setting.
-
-
-
Constructor Detail
-
HotRodRouterConfiguration
public HotRodRouterConfiguration(InetAddress ip, int port, int sendBufferSize, int receiveBufferSize, boolean tcpKeepAlive, boolean tcpNoDelay)
Creates new configuration based on the IP address and port.- Parameters:
ip- The IP address used for binding. Can not benull.port- Port used for binding. Can be 0, in that case a random port is assigned.tcpKeepAlive- Keep alive TCP setting.receiveBufferSize- Receive buffer size.sendBufferSize- Send buffer sizetcpNoDelay- TCP No Delay setting.
-
-
Method Detail
-
tcpNoDelay
public boolean tcpNoDelay()
Returns TCP No Delay setting.
-
tcpKeepAlive
public boolean tcpKeepAlive()
Returns TCP Keep Alive setting.
-
sendBufferSize
public int sendBufferSize()
Returns Send buffer size.
-
receiveBufferSize
public int receiveBufferSize()
Returns Receive buffer size.
-
getPort
public int getPort()
-
getIp
public InetAddress getIp()
-
-