public class NettyServerConfig extends Object
| 构造器和说明 |
|---|
NettyServerConfig() |
public int getListenPort()
public void setListenPort(int listenPort)
public int getServerWorkerThreads()
public void setServerWorkerThreads(int serverWorkerThreads)
public int getServerSelectorThreads()
public void setServerSelectorThreads(int serverSelectorThreads)
public int getServerOnewaySemaphoreValue()
public void setServerOnewaySemaphoreValue(int serverOnewaySemaphoreValue)
public int getServerCallbackExecutorThreads()
public void setServerCallbackExecutorThreads(int serverCallbackExecutorThreads)
public int getServerAsyncSemaphoreValue()
public void setServerAsyncSemaphoreValue(int serverAsyncSemaphoreValue)
public int getServerChannelMaxIdleTimeSeconds()
public void setServerChannelMaxIdleTimeSeconds(int serverChannelMaxIdleTimeSeconds)
public int getServerSocketSndBufSize()
public void setServerSocketSndBufSize(int serverSocketSndBufSize)
public int getServerSocketRcvBufSize()
public void setServerSocketRcvBufSize(int serverSocketRcvBufSize)
public boolean isServerPooledByteBufAllocatorEnable()
public void setServerPooledByteBufAllocatorEnable(boolean serverPooledByteBufAllocatorEnable)
Copyright © 2018. All rights reserved.