com.alibaba.rocketmq.remoting.netty
类 NettyClientConfig
java.lang.Object
com.alibaba.rocketmq.remoting.netty.NettyClientConfig
public class NettyClientConfig
- extends Object
Netty客户端配置类
- 从以下版本开始:
- 2013-7-13
- 作者:
- shijia.wxr
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NettyClientConfig
public NettyClientConfig()
getClientWorkerThreads
public int getClientWorkerThreads()
setClientWorkerThreads
public void setClientWorkerThreads(int clientWorkerThreads)
getClientOnewaySemaphoreValue
public int getClientOnewaySemaphoreValue()
setClientOnewaySemaphoreValue
public void setClientOnewaySemaphoreValue(int clientOnewaySemaphoreValue)
getConnectTimeoutMillis
public long getConnectTimeoutMillis()
setConnectTimeoutMillis
public void setConnectTimeoutMillis(long connectTimeoutMillis)
getClientCallbackExecutorThreads
public int getClientCallbackExecutorThreads()
setClientCallbackExecutorThreads
public void setClientCallbackExecutorThreads(int clientCallbackExecutorThreads)
getChannelNotActiveInterval
public long getChannelNotActiveInterval()
setChannelNotActiveInterval
public void setChannelNotActiveInterval(long channelNotActiveInterval)
getClientAsyncSemaphoreValue
public int getClientAsyncSemaphoreValue()
setClientAsyncSemaphoreValue
public void setClientAsyncSemaphoreValue(int clientAsyncSemaphoreValue)
getClientChannelMaxIdleTimeSeconds
public int getClientChannelMaxIdleTimeSeconds()
setClientChannelMaxIdleTimeSeconds
public void setClientChannelMaxIdleTimeSeconds(int clientChannelMaxIdleTimeSeconds)
getClientSocketSndBufSize
public int getClientSocketSndBufSize()
setClientSocketSndBufSize
public void setClientSocketSndBufSize(int clientSocketSndBufSize)
getClientSocketRcvBufSize
public int getClientSocketRcvBufSize()
setClientSocketRcvBufSize
public void setClientSocketRcvBufSize(int clientSocketRcvBufSize)
isClientPooledByteBufAllocatorEnable
public boolean isClientPooledByteBufAllocatorEnable()
setClientPooledByteBufAllocatorEnable
public void setClientPooledByteBufAllocatorEnable(boolean clientPooledByteBufAllocatorEnable)
Copyright © 2012-2015. All Rights Reserved.