Class TcpKeepAliveConfiguration


  • public final class TcpKeepAliveConfiguration
    extends Object
    Configuration that defines keep-alive options for all connections established by the TcpKeepAliveConfiguration.
    • 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