Interface CrtHttpClientConfig.TcpKeepAliveConfiguration

Enclosing interface:
CrtHttpClientConfig

public static interface CrtHttpClientConfig.TcpKeepAliveConfiguration
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Configure whether to enable or disable TCP KeepAlive.
    @WithConverter(io.quarkus.runtime.configuration.DurationConverter.class) Duration
    Time between TCP keepalive packets being sent to the peer.
    Number of keepalive probes allowed to fail before the connection is considered lost.
    @WithConverter(io.quarkus.runtime.configuration.DurationConverter.class) Duration
    Time to wait for a keepalive response before considering the connection timed out.
  • Method Details

    • enabled

      @WithDefault("false") boolean enabled()
      Configure whether to enable or disable TCP KeepAlive.
    • keepAliveInterval

      @WithDefault("75ms") @WithConverter(io.quarkus.runtime.configuration.DurationConverter.class) @WithConverter(io.quarkus.runtime.configuration.DurationConverter.class) Duration keepAliveInterval()
      Time between TCP keepalive packets being sent to the peer.
    • keepAliveTimeout

      @WithDefault("7200ms") @WithConverter(io.quarkus.runtime.configuration.DurationConverter.class) @WithConverter(io.quarkus.runtime.configuration.DurationConverter.class) Duration keepAliveTimeout()
      Time to wait for a keepalive response before considering the connection timed out.
    • keepAliveProbes

      @WithDefault("9") Integer keepAliveProbes()
      Number of keepalive probes allowed to fail before the connection is considered lost.