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

构造方法摘要
NettyServerConfig()
           
 
方法摘要
 int getListenPort()
           
 int getServerAsyncSemaphoreValue()
           
 int getServerCallbackExecutorThreads()
           
 int getServerChannelMaxIdleTimeSeconds()
           
 int getServerOnewaySemaphoreValue()
           
 int getServerSelectorThreads()
           
 int getServerSocketRcvBufSize()
           
 int getServerSocketSndBufSize()
           
 int getServerWorkerThreads()
           
 boolean isServerPooledByteBufAllocatorEnable()
           
 void setListenPort(int listenPort)
           
 void setServerAsyncSemaphoreValue(int serverAsyncSemaphoreValue)
           
 void setServerCallbackExecutorThreads(int serverCallbackExecutorThreads)
           
 void setServerChannelMaxIdleTimeSeconds(int serverChannelMaxIdleTimeSeconds)
           
 void setServerOnewaySemaphoreValue(int serverOnewaySemaphoreValue)
           
 void setServerPooledByteBufAllocatorEnable(boolean serverPooledByteBufAllocatorEnable)
           
 void setServerSelectorThreads(int serverSelectorThreads)
           
 void setServerSocketRcvBufSize(int serverSocketRcvBufSize)
           
 void setServerSocketSndBufSize(int serverSocketSndBufSize)
           
 void setServerWorkerThreads(int serverWorkerThreads)
           
 
从类 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.