public interface Config
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
clientMode()
是否客户模式
|
ExecutorService |
getChannelExecutor()
通道执行器
|
Charset |
getCharset()
获取字符集
|
Codec |
getCodec()
获取编解码器
|
int |
getCoreThreads()
核心线程数(第二优先)
|
FragmentHandler |
getFragmentHandler()
获取分片处理器
|
int |
getFragmentSize()
获取分片大小
|
IdGenerator |
getIdGenerator()
获取Id生成器
|
long |
getIdleTimeout()
获取连接空闲超时(单位:毫秒)
|
int |
getMaxThreads()
最大线程数
|
int |
getMaxUdpSize()
允许最大UDP包大小
|
int |
getReadBufferSize()
获取读缓冲大小
|
long |
getRequestTimeout()
获取请求超时(单位:毫秒)
|
String |
getRoleName()
获取角色名
|
SSLContext |
getSslContext()
获取 ssl 上下文
|
StreamManger |
getStreamManger()
获取流管理器
|
long |
getStreamTimeout()
获取消息流超时(单位:毫秒)
|
int |
getWriteBufferSize()
配置读缓冲大小
|
boolean |
sequenceMode()
是否顺序模式
|
boolean clientMode()
boolean sequenceMode()
StreamManger getStreamManger()
String getRoleName()
Charset getCharset()
Codec getCodec()
IdGenerator getIdGenerator()
FragmentHandler getFragmentHandler()
int getFragmentSize()
SSLContext getSslContext()
ExecutorService getChannelExecutor()
int getCoreThreads()
int getMaxThreads()
int getReadBufferSize()
int getWriteBufferSize()
long getIdleTimeout()
long getRequestTimeout()
long getStreamTimeout()
int getMaxUdpSize()
Copyright © 2024. All rights reserved.