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

构造方法摘要
NettyClientConfig()
           
 
方法摘要
 long getChannelNotActiveInterval()
           
 int getClientAsyncSemaphoreValue()
           
 int getClientCallbackExecutorThreads()
           
 int getClientChannelMaxIdleTimeSeconds()
           
 int getClientOnewaySemaphoreValue()
           
 int getClientSocketRcvBufSize()
           
 int getClientSocketSndBufSize()
           
 int getClientWorkerThreads()
           
 long getConnectTimeoutMillis()
           
 boolean isClientPooledByteBufAllocatorEnable()
           
 void setChannelNotActiveInterval(long channelNotActiveInterval)
           
 void setClientAsyncSemaphoreValue(int clientAsyncSemaphoreValue)
           
 void setClientCallbackExecutorThreads(int clientCallbackExecutorThreads)
           
 void setClientChannelMaxIdleTimeSeconds(int clientChannelMaxIdleTimeSeconds)
           
 void setClientOnewaySemaphoreValue(int clientOnewaySemaphoreValue)
           
 void setClientPooledByteBufAllocatorEnable(boolean clientPooledByteBufAllocatorEnable)
           
 void setClientSocketRcvBufSize(int clientSocketRcvBufSize)
           
 void setClientSocketSndBufSize(int clientSocketSndBufSize)
           
 void setClientWorkerThreads(int clientWorkerThreads)
           
 void setConnectTimeoutMillis(long connectTimeoutMillis)
           
 
从类 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.