public class NettyClientConfig extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
COM_CMQ_NETTY_CLIENT_ASYNC_SEMAPHORE_VALUE |
static String |
COM_CMQ_NETTY_CLIENT_ONEWAY_SEMAPHORE_VALUE |
static String |
COM_CMQ_NETTY_SOCKET_RCVBUF_SIZE |
static String |
COM_CMQ_NETTY_SOCKET_SNDBUF_SIZE |
| 构造器和说明 |
|---|
NettyClientConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getClientAsyncSemaphoreValue() |
int |
getClientCallbackExecutorThreads() |
int |
getClientChannelMaxIdleTimeSeconds() |
int |
getClientOnewaySemaphoreValue() |
int |
getClientSocketRcvBufSize() |
int |
getClientSocketSndBufSize() |
int |
getClientWorkerThreads() |
int |
getConnectTimeoutMillis() |
boolean |
isClientCloseSocketIfTimeout() |
void |
setClientAsyncSemaphoreValue(int clientAsyncSemaphoreValue) |
void |
setClientCallbackExecutorThreads(int clientCallbackExecutorThreads) |
void |
setClientChannelMaxIdleTimeSeconds(int clientChannelMaxIdleTimeSeconds) |
void |
setClientCloseSocketIfTimeout(boolean clientCloseSocketIfTimeout) |
void |
setClientOnewaySemaphoreValue(int clientOnewaySemaphoreValue) |
void |
setClientSocketRcvBufSize(int clientSocketRcvBufSize) |
void |
setClientSocketSndBufSize(int clientSocketSndBufSize) |
void |
setClientWorkerThreads(int clientWorkerThreads) |
void |
setConnectTimeoutMillis(int connectTimeoutMillis) |
public static final String COM_CMQ_NETTY_SOCKET_SNDBUF_SIZE
public static final String COM_CMQ_NETTY_SOCKET_RCVBUF_SIZE
public static final String COM_CMQ_NETTY_CLIENT_ASYNC_SEMAPHORE_VALUE
public int getClientWorkerThreads()
public void setClientWorkerThreads(int clientWorkerThreads)
public int getConnectTimeoutMillis()
public void setConnectTimeoutMillis(int connectTimeoutMillis)
public int getClientCallbackExecutorThreads()
public void setClientCallbackExecutorThreads(int clientCallbackExecutorThreads)
public int getClientOnewaySemaphoreValue()
public void setClientOnewaySemaphoreValue(int clientOnewaySemaphoreValue)
public int getClientAsyncSemaphoreValue()
public void setClientAsyncSemaphoreValue(int clientAsyncSemaphoreValue)
public int getClientChannelMaxIdleTimeSeconds()
public void setClientChannelMaxIdleTimeSeconds(int clientChannelMaxIdleTimeSeconds)
public int getClientSocketSndBufSize()
public void setClientSocketSndBufSize(int clientSocketSndBufSize)
public int getClientSocketRcvBufSize()
public void setClientSocketRcvBufSize(int clientSocketRcvBufSize)
public boolean isClientCloseSocketIfTimeout()
public void setClientCloseSocketIfTimeout(boolean clientCloseSocketIfTimeout)
Copyright © 2020. All rights reserved.