public class TCPSettings extends Object implements Serializable
| Constructor and Description |
|---|
TCPSettings()
No args constructor for use in serialization
|
TCPSettings(Duration connectTimeout,
Integer maxConnections,
TcpKeepalive tcpKeepalive) |
| Modifier and Type | Method and Description |
|---|---|
Duration |
getConnectTimeout() |
Integer |
getMaxConnections() |
TcpKeepalive |
getTcpKeepalive() |
void |
setConnectTimeout(Duration connectTimeout) |
void |
setMaxConnections(Integer maxConnections) |
void |
setTcpKeepalive(TcpKeepalive tcpKeepalive) |
public TCPSettings()
public TCPSettings(Duration connectTimeout, Integer maxConnections, TcpKeepalive tcpKeepalive)
tcpKeepalive - connectTimeout - maxConnections - public Duration getConnectTimeout()
public void setConnectTimeout(Duration connectTimeout)
public Integer getMaxConnections()
public void setMaxConnections(Integer maxConnections)
public TcpKeepalive getTcpKeepalive()
public void setTcpKeepalive(TcpKeepalive tcpKeepalive)
Copyright © 2017–2019 Red Hat. All rights reserved.