Class HotRodRouterConfiguration

java.lang.Object
org.infinispan.server.router.configuration.HotRodRouterConfiguration

public class HotRodRouterConfiguration extends Object
Router's configuration for Hot Rod.
Author:
Sebastian Ɓaskawiec
  • 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 be null.
      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 size
      tcpNoDelay - 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

      public InetAddress getIp()