| 限定符和类型 | 类和说明 |
|---|---|
static class |
IOReactorConfig.Builder |
| 限定符和类型 | 字段和说明 |
|---|---|
static IOReactorConfig |
DEFAULT |
| 限定符和类型 | 方法和说明 |
|---|---|
static IOReactorConfig.Builder |
copy(IOReactorConfig config) |
static IOReactorConfig.Builder |
custom() |
int |
getBacklogSize() |
int |
getIoThreadCount() |
int |
getRcvBufSize() |
TimeValue |
getSelectInterval() |
int |
getSndBufSize() |
SocketAddress |
getSocksProxyAddress() |
String |
getSocksProxyPassword() |
String |
getSocksProxyUsername() |
TimeValue |
getSoLinger() |
Timeout |
getSoTimeout() |
int |
getTrafficClass() |
boolean |
isSoKeepalive()
已过时。
use
isSoKeepAlive(). |
boolean |
isSoKeepAlive() |
boolean |
isSoReuseAddress() |
boolean |
isTcpNoDelay() |
String |
toString() |
public static final IOReactorConfig DEFAULT
public TimeValue getSelectInterval()
public int getIoThreadCount()
public Timeout getSoTimeout()
public boolean isSoReuseAddress()
public TimeValue getSoLinger()
public boolean isSoKeepAlive()
IOReactorConfig.Builder.setSoKeepAlive(boolean)@Deprecated public boolean isSoKeepalive()
isSoKeepAlive().public boolean isTcpNoDelay()
public int getTrafficClass()
IOReactorConfig.Builder.setTrafficClass(int)public int getSndBufSize()
public int getRcvBufSize()
public int getBacklogSize()
public SocketAddress getSocksProxyAddress()
public String getSocksProxyUsername()
public String getSocksProxyPassword()
public static IOReactorConfig.Builder custom()
public static IOReactorConfig.Builder copy(IOReactorConfig config)
Copyright © 2023. All rights reserved.