public class NettyConfig extends Object
Constructor and Description |
---|
NettyConfig(InetAddress serverAddress,
int serverPort,
int memorySegmentSize,
int numberOfSlots,
Configuration config) |
Modifier and Type | Method and Description |
---|---|
SSLHandlerFactory |
createClientSSLEngineFactory() |
SSLHandlerFactory |
createServerSSLEngineFactory() |
int |
getClientConnectTimeoutSeconds() |
int |
getClientNumThreads() |
Configuration |
getConfig() |
int |
getNumberOfArenas() |
int |
getNumberOfSlots() |
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, Configuration config)
public int getNumberOfSlots()
public int getServerConnectBacklog()
public int getNumberOfArenas()
public int getServerNumThreads()
public int getClientNumThreads()
public int getClientConnectTimeoutSeconds()
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
Exception
public boolean getSSLEnabled()
public Configuration getConfig()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.