Class NettyConfig
- java.lang.Object
-
- org.apache.flink.runtime.io.network.netty.NettyConfig
-
public class NettyConfig extends Object
-
-
Constructor Summary
Constructors Constructor Description NettyConfig(InetAddress serverAddress, int serverPort, int memorySegmentSize, int numberOfSlots, org.apache.flink.configuration.Configuration config)NettyConfig(InetAddress serverAddress, org.apache.flink.util.PortRange serverPortRange, int memorySegmentSize, int numberOfSlots, org.apache.flink.configuration.Configuration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SSLHandlerFactorycreateClientSSLEngineFactory()SSLHandlerFactorycreateServerSSLEngineFactory()intgetClientConnectTimeoutSeconds()intgetClientNumThreads()org.apache.flink.configuration.ConfigurationgetConfig()intgetNetworkRetries()intgetNumberOfArenas()intgetSendAndReceiveBufferSize()intgetServerConnectBacklog()intgetServerNumThreads()booleangetSSLEnabled()Optional<Integer>getTcpKeepCount()Optional<Integer>getTcpKeepIdleInSeconds()Optional<Integer>getTcpKeepInternalInSeconds()StringtoString()
-
-
-
Constructor Detail
-
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 Detail
-
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()
-
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()
-
-