Class HotRodRouterConfiguration
java.lang.Object
org.infinispan.server.router.configuration.HotRodRouterConfiguration
Router's configuration for Hot Rod.- Author:
- Sebastian Ćaskawiec
-
Constructor Summary
ConstructorsConstructorDescriptionHotRodRouterConfiguration(InetAddress ip, int port, int sendBufferSize, int receiveBufferSize, boolean tcpKeepAlive, boolean tcpNoDelay) Creates new configuration based on the IP address and port. -
Method Summary
-
Constructor Details
-
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 Details
-
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
-