public class NettyConfig extends Object
| 构造器和说明 |
|---|
NettyConfig(InetAddress serverAddress,
int serverPort,
int memorySegmentSize,
int numberOfSlots,
org.apache.flink.configuration.Configuration config) |
| 限定符和类型 | 方法和说明 |
|---|---|
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–2023 The Apache Software Foundation. All rights reserved.