@ConfigurationProperties(prefix="server.netty",
ignoreUnknownFields=true)
public class NettyProperties
extends Object
implements Serializable
| 限定符和类型 | 类和说明 |
|---|---|
static class |
NettyProperties.HttpServlet |
static class |
NettyProperties.Mqtt |
static class |
NettyProperties.Mysql |
static class |
NettyProperties.MysqlProxyLog
mysql代理日志的配置
|
static class |
NettyProperties.Nrpc |
static class |
NettyProperties.Rtsp |
| 构造器和说明 |
|---|
NettyProperties() |
public ApplicationX getApplication()
public void setSoBacklog(int soBacklog)
public int getSoBacklog()
public int getSoRcvbuf()
public void setSoRcvbuf(int soRcvbuf)
public int getSoSndbuf()
public void setSoSndbuf(int soSndbuf)
public boolean isTcpNodelay()
public void setTcpNodelay(boolean tcpNodelay)
public io.netty.util.ResourceLeakDetector.Level getResourceLeakDetectorLevel()
public void setResourceLeakDetectorLevel(io.netty.util.ResourceLeakDetector.Level resourceLeakDetectorLevel)
public long getFirstClientPacketReadTimeoutMs()
public void setFirstClientPacketReadTimeoutMs(long firstClientPacketReadTimeoutMs)
public Class<? extends DynamicProtocolChannelHandler> getChannelHandler()
public void setChannelHandler(Class<? extends DynamicProtocolChannelHandler> channelHandler)
public io.netty.handler.logging.LogLevel getTcpPackageLogLevel()
public void setTcpPackageLogLevel(io.netty.handler.logging.LogLevel tcpPackageLogLevel)
public int getServerIoThreads()
public void setServerIoThreads(int serverIoThreads)
public int getServerIoRatio()
public void setServerIoRatio(int serverIoRatio)
public boolean isEnableTcpPackageLog()
public void setEnableTcpPackageLog(boolean enableTcpPackageLog)
public int getMaxConnections()
public void setMaxConnections(int maxConnections)
public NettyProperties.Nrpc getNrpc()
public NettyProperties.Mqtt getMqtt()
public NettyProperties.Rtsp getRtsp()
public NettyProperties.HttpServlet getHttpServlet()
public NettyProperties.Mysql getMysql()
Copyright © 2021. All rights reserved.