Package software.amazon.awssdk.http.crt
Class TcpKeepAliveConfiguration
- java.lang.Object
-
- software.amazon.awssdk.http.crt.TcpKeepAliveConfiguration
-
public final class TcpKeepAliveConfiguration extends Object
Configuration that defines keep-alive options for all connections established by theTcpKeepAliveConfiguration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTcpKeepAliveConfiguration.BuilderA builder forTcpKeepAliveConfiguration.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TcpKeepAliveConfiguration.Builderbuilder()DurationkeepAliveInterval()DurationkeepAliveTimeout()
-
-
-
Method Detail
-
keepAliveInterval
public Duration keepAliveInterval()
- Returns:
- number of seconds between TCP keepalive packets being sent to the peer
-
keepAliveTimeout
public Duration keepAliveTimeout()
- Returns:
- number of seconds to wait for a keepalive response before considering the connection timed out
-
builder
public static TcpKeepAliveConfiguration.Builder builder()
-
-