| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| public static final SocketConfig | |
| private static final Timeout | |
| private final int | |
| private final int | |
| private final SocketAddress | |
| private final boolean | |
| private final TimeValue | |
| private final boolean | |
| private final Timeout | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | SocketConfig(final Timeout soTimeout, final boolean soReuseAddress, final TimeValue soLinger, final boolean soKeepAlive, final boolean tcpNoDelay, final int sndBufSize, final int rcvBufSize, final int backlogSize, final SocketAddress socksProxyAddress)
|
| Modifier and Type | Method and Description |
|---|---|
| public static SocketConfig. | |
| public static SocketConfig. | |
| public int | |
| public int | |
| public int | |
| public SocketAddress | |
| public TimeValue | |
| public Timeout | |
| public boolean | |
| public boolean | |
| public boolean | |
| public String |
| backlogSize | back to summary |
|---|---|
| private final int backlogSize | |
| DEFAULT | back to summary |
|---|---|
| public static final SocketConfig DEFAULT | |
| DEFAULT_SOCKET_TIMEOUT | back to summary |
|---|---|
| private static final Timeout DEFAULT_SOCKET_TIMEOUT | |
| rcvBufSize | back to summary |
|---|---|
| private final int rcvBufSize | |
| sndBufSize | back to summary |
|---|---|
| private final int sndBufSize | |
| socksProxyAddress | back to summary |
|---|---|
| private final SocketAddress socksProxyAddress | |
| soKeepAlive | back to summary |
|---|---|
| private final boolean soKeepAlive | |
| soLinger | back to summary |
|---|---|
| private final TimeValue soLinger | |
| soReuseAddress | back to summary |
|---|---|
| private final boolean soReuseAddress | |
| soTimeout | back to summary |
|---|---|
| private final Timeout soTimeout | |
| tcpNoDelay | back to summary |
|---|---|
| private final boolean tcpNoDelay | |
| SocketConfig | back to summary |
|---|---|
| pack-priv SocketConfig(final Timeout soTimeout, final boolean soReuseAddress, final TimeValue soLinger, final boolean soKeepAlive, final boolean tcpNoDelay, final int sndBufSize, final int rcvBufSize, final int backlogSize, final SocketAddress socksProxyAddress) | |
| copy | back to summary |
|---|---|
| public static SocketConfig. | |
| custom | back to summary |
|---|---|
| public static SocketConfig. | |
| getBacklogSize | back to summary |
|---|---|
public int getBacklogSize()
| |
| getRcvBufSize | back to summary |
|---|---|
public int getRcvBufSize()
| |
| getSndBufSize | back to summary |
|---|---|
public int getSndBufSize()
| |
| getSocksProxyAddress | back to summary |
|---|---|
| public SocketAddress getSocksProxyAddress() | |
| getSoLinger | back to summary |
|---|---|
public TimeValue getSoLinger()
| |
| getSoTimeout | back to summary |
|---|---|
public Timeout getSoTimeout()
| |
| isSoKeepAlive | back to summary |
|---|---|
public boolean isSoKeepAlive()
| |
| isSoReuseAddress | back to summary |
|---|---|
public boolean isSoReuseAddress()
| |
| isTcpNoDelay | back to summary |
|---|---|
public boolean isTcpNoDelay()
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private int | |
| private SocketAddress | |
| private boolean | |
| private TimeValue | |
| private boolean | |
| private Timeout | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public SocketConfig | |
| public SocketConfig. | Returns: the maximum queue length for incoming connection indicationsDetermines the maximum queue length for incoming connection indications (a request to connect) also known as server socket backlog. |
| public SocketConfig. | Returns: the default value of thejava. parameter.Determines the default value of the |
| public SocketConfig. | Returns: the default value of thejava. parameter.Determines the default value of the |
| public SocketConfig. | |
| public SocketConfig. | Returns: the default value of thejava. parameter.Determines the default value of the |
| public SocketConfig. | |
| public SocketConfig. | Returns: the default value of thejava. parameter.Determines the default value of the |
| public SocketConfig. | Returns: the default value of thejava. parameter.Determines the default value of the |
| public SocketConfig. | |
| public SocketConfig. | Returns: the default socket timeout value for blocking I/O operations.Determines the default socket timeout value for blocking I/O operations. |
| public SocketConfig. | Returns: the default value of thejava. parameter.Determines the default value of the |
| backlogSize | back to summary |
|---|---|
| private int backlogSize | |
| rcvBufSize | back to summary |
|---|---|
| private int rcvBufSize | |
| sndBufSize | back to summary |
|---|---|
| private int sndBufSize | |
| socksProxyAddress | back to summary |
|---|---|
| private SocketAddress socksProxyAddress | |
| soKeepAlive | back to summary |
|---|---|
| private boolean soKeepAlive | |
| soLinger | back to summary |
|---|---|
| private TimeValue soLinger | |
| soReuseAddress | back to summary |
|---|---|
| private boolean soReuseAddress | |
| soTimeout | back to summary |
|---|---|
| private Timeout soTimeout | |
| tcpNoDelay | back to summary |
|---|---|
| private boolean tcpNoDelay | |
| Builder | back to summary |
|---|---|
| pack-priv Builder() | |
| build | back to summary |
|---|---|
| public SocketConfig build() | |
| setBacklogSize | back to summary |
|---|---|
| public SocketConfig. Determines the maximum queue length for incoming connection indications (a request to connect) also known as server socket backlog.
Default:
| |
| setRcvBufSize | back to summary |
|---|---|
| public SocketConfig. Determines the default value of the
Default:
| |
| setSndBufSize | back to summary |
|---|---|
| public SocketConfig. Determines the default value of the
Default:
| |
| setSocksProxyAddress | back to summary |
|---|---|
| public SocketConfig. The address of the SOCKS proxy to use. | |
| setSoKeepAlive | back to summary |
|---|---|
| public SocketConfig. Determines the default value of the
Default:
| |
| setSoLinger | back to summary |
|---|---|
public SocketConfig.
| |
| setSoLinger | back to summary |
|---|---|
| public SocketConfig. Determines the default value of the
Default:
| |
| setSoReuseAddress | back to summary |
|---|---|
| public SocketConfig. Determines the default value of the
Default:
| |
| setSoTimeout | back to summary |
|---|---|
public SocketConfig.
| |
| setSoTimeout | back to summary |
|---|---|
| public SocketConfig. Determines the default socket timeout value for blocking I/O operations. Default: 3 minutes
| |
| setTcpNoDelay | back to summary |
|---|---|
| public SocketConfig. Determines the default value of the
Default:
| |