java.lang.Cloneable
, IoConnectorConfig
, IoServiceConfig
DatagramConnectorConfig
, SocketConnectorConfig
public abstract class BaseIoConnectorConfig extends BaseIoServiceConfig implements IoConnectorConfig
IoConnectorConfig
.Modifier | Constructor | Description |
---|---|---|
protected |
BaseIoConnectorConfig() |
Modifier and Type | Method | Description |
---|---|---|
int |
getConnectTimeout() |
Returns the connect timeout in seconds.
|
long |
getConnectTimeoutMillis() |
Returns the connect timeout in milliseconds.
|
void |
setConnectTimeout(int connectTimeout) |
Sets the connect timeout in seconds.
|
clone, getFilterChain, getFilterChainBuilder, getThreadModel, setFilterChainBuilder, setThreadModel
clone, getFilterChain, getFilterChainBuilder, getSessionConfig, getThreadModel, setFilterChainBuilder, setThreadModel
public int getConnectTimeout()
IoConnectorConfig
getConnectTimeout
in interface IoConnectorConfig
public long getConnectTimeoutMillis()
IoConnectorConfig
getConnectTimeoutMillis
in interface IoConnectorConfig
public void setConnectTimeout(int connectTimeout)
IoConnectorConfig
setConnectTimeout
in interface IoConnectorConfig