com.alibaba.rocketmq.remoting.netty
类 NettyServerConfig
java.lang.Object
com.alibaba.rocketmq.remoting.netty.NettyServerConfig
public class NettyServerConfig
- extends Object
Netty服务端配置
- 从以下版本开始:
- 2013-7-13
- 作者:
- shijia.wxr
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NettyServerConfig
public NettyServerConfig()
getListenPort
public int getListenPort()
setListenPort
public void setListenPort(int listenPort)
getServerWorkerThreads
public int getServerWorkerThreads()
setServerWorkerThreads
public void setServerWorkerThreads(int serverWorkerThreads)
getServerSelectorThreads
public int getServerSelectorThreads()
setServerSelectorThreads
public void setServerSelectorThreads(int serverSelectorThreads)
getServerOnewaySemaphoreValue
public int getServerOnewaySemaphoreValue()
setServerOnewaySemaphoreValue
public void setServerOnewaySemaphoreValue(int serverOnewaySemaphoreValue)
getServerCallbackExecutorThreads
public int getServerCallbackExecutorThreads()
setServerCallbackExecutorThreads
public void setServerCallbackExecutorThreads(int serverCallbackExecutorThreads)
getServerAsyncSemaphoreValue
public int getServerAsyncSemaphoreValue()
setServerAsyncSemaphoreValue
public void setServerAsyncSemaphoreValue(int serverAsyncSemaphoreValue)
getServerChannelMaxIdleTimeSeconds
public int getServerChannelMaxIdleTimeSeconds()
setServerChannelMaxIdleTimeSeconds
public void setServerChannelMaxIdleTimeSeconds(int serverChannelMaxIdleTimeSeconds)
getServerSocketSndBufSize
public int getServerSocketSndBufSize()
setServerSocketSndBufSize
public void setServerSocketSndBufSize(int serverSocketSndBufSize)
getServerSocketRcvBufSize
public int getServerSocketRcvBufSize()
setServerSocketRcvBufSize
public void setServerSocketRcvBufSize(int serverSocketRcvBufSize)
isServerPooledByteBufAllocatorEnable
public boolean isServerPooledByteBufAllocatorEnable()
setServerPooledByteBufAllocatorEnable
public void setServerPooledByteBufAllocatorEnable(boolean serverPooledByteBufAllocatorEnable)
Copyright © 2012-2015. All Rights Reserved.