Modifier and Type | Class and Description |
---|---|
static class |
SocketConfig.Builder |
Modifier and Type | Field and Description |
---|---|
static SocketConfig |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
static SocketConfig.Builder |
copy(SocketConfig config) |
static SocketConfig.Builder |
custom() |
int |
getBacklogSize() |
int |
getRcvBufSize() |
int |
getSndBufSize() |
SocketAddress |
getSocksProxyAddress() |
TimeValue |
getSoLinger() |
Timeout |
getSoTimeout() |
int |
getTcpKeepCount() |
int |
getTcpKeepIdle() |
int |
getTcpKeepInterval() |
boolean |
isSoKeepAlive() |
boolean |
isSoReuseAddress() |
boolean |
isTcpNoDelay() |
String |
toString() |
public static final SocketConfig DEFAULT
public Timeout getSoTimeout()
public boolean isSoReuseAddress()
public TimeValue getSoLinger()
public boolean isSoKeepAlive()
public boolean isTcpNoDelay()
public int getSndBufSize()
SocketConfig.Builder.setSndBufSize(int)
public int getRcvBufSize()
SocketConfig.Builder.setRcvBufSize(int)
public int getBacklogSize()
SocketConfig.Builder.setBacklogSize(int)
public int getTcpKeepIdle()
SocketConfig.Builder.setTcpKeepIdle(int)
public int getTcpKeepInterval()
SocketConfig.Builder.setTcpKeepInterval(int)
public int getTcpKeepCount()
SocketConfig.Builder.setTcpKeepCount(int)
public SocketAddress getSocksProxyAddress()
public static SocketConfig.Builder custom()
public static SocketConfig.Builder copy(SocketConfig config)
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.