Class NettyConfig

java.lang.Object
org.apache.flink.runtime.io.network.netty.NettyConfig

public class NettyConfig extends Object
  • Constructor Details

    • NettyConfig

      public NettyConfig(InetAddress serverAddress, int serverPort, int memorySegmentSize, int numberOfSlots, org.apache.flink.configuration.Configuration config)
    • NettyConfig

      public NettyConfig(InetAddress serverAddress, org.apache.flink.util.PortRange serverPortRange, int memorySegmentSize, int numberOfSlots, org.apache.flink.configuration.Configuration config)
  • Method Details

    • getServerConnectBacklog

      public int getServerConnectBacklog()
    • getNumberOfArenas

      public int getNumberOfArenas()
    • getServerNumThreads

      public int getServerNumThreads()
    • getClientNumThreads

      public int getClientNumThreads()
    • getClientConnectTimeoutSeconds

      public int getClientConnectTimeoutSeconds()
    • getNetworkRetries

      public int getNetworkRetries()
    • getSendAndReceiveBufferSize

      public int getSendAndReceiveBufferSize()
    • getTcpKeepIdleInSeconds

      public Optional<Integer> getTcpKeepIdleInSeconds()
    • getTcpKeepInternalInSeconds

      public Optional<Integer> getTcpKeepInternalInSeconds()
    • getTcpKeepCount

      public Optional<Integer> getTcpKeepCount()
    • createClientSSLEngineFactory

      @Nullable public SSLHandlerFactory createClientSSLEngineFactory() throws Exception
      Throws:
      Exception
    • createServerSSLEngineFactory

      @Nullable public SSLHandlerFactory createServerSSLEngineFactory() throws Exception
      Throws:
      Exception
    • getSSLEnabled

      public boolean getSSLEnabled()
    • getConfig

      public org.apache.flink.configuration.Configuration getConfig()
    • toString

      public String toString()
      Overrides:
      toString in class Object