public static interface TcpKeepAliveConfiguration.Builder
TcpKeepAliveConfiguration.
All implementations of this interface are mutable and not thread safe.
| Modifier and Type | Method and Description |
|---|---|
TcpKeepAliveConfiguration |
build() |
TcpKeepAliveConfiguration.Builder |
keepAliveInterval(Duration keepAliveInterval)
Sets the Duration between TCP keepalive packets being sent to the peer
|
TcpKeepAliveConfiguration.Builder |
keepAliveTimeout(Duration keepAliveTimeout)
Sets the Duration to wait for a keepalive response before considering the connection timed out
|
TcpKeepAliveConfiguration.Builder keepAliveInterval(Duration keepAliveInterval)
keepAliveInterval - Duration between TCP keepalive packets being sent to the peerTcpKeepAliveConfiguration.Builder keepAliveTimeout(Duration keepAliveTimeout)
keepAliveTimeout - Duration to wait for a keepalive response before considering the connection timed outTcpKeepAliveConfiguration build()
Copyright © 2023. All rights reserved.