public class NettyConfig extends Object
| Constructor and Description |
|---|
NettyConfig(InetAddress serverAddress,
int serverPort,
int memorySegmentSize,
int numberOfSlots,
org.apache.flink.configuration.Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
SSLHandlerFactory |
createClientSSLEngineFactory() |
SSLHandlerFactory |
createServerSSLEngineFactory() |
int |
getClientConnectTimeoutSeconds() |
int |
getClientNumThreads() |
org.apache.flink.configuration.Configuration |
getConfig() |
int |
getNetworkRetries() |
int |
getNumberOfArenas() |
int |
getSendAndReceiveBufferSize() |
int |
getServerConnectBacklog() |
int |
getServerNumThreads() |
boolean |
getSSLEnabled() |
org.apache.flink.runtime.io.network.netty.NettyConfig.TransportType |
getTransportType() |
String |
toString() |
public NettyConfig(InetAddress serverAddress, int serverPort, int memorySegmentSize, int numberOfSlots, org.apache.flink.configuration.Configuration config)
public int getServerConnectBacklog()
public int getNumberOfArenas()
public int getServerNumThreads()
public int getClientNumThreads()
public int getClientConnectTimeoutSeconds()
public int getNetworkRetries()
public int getSendAndReceiveBufferSize()
public org.apache.flink.runtime.io.network.netty.NettyConfig.TransportType getTransportType()
@Nullable public SSLHandlerFactory createClientSSLEngineFactory() throws Exception
Exception@Nullable public SSLHandlerFactory createServerSSLEngineFactory() throws Exception
Exceptionpublic boolean getSSLEnabled()
public org.apache.flink.configuration.Configuration getConfig()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.