Class VirtualGatewaySpecListenerHealthCheck


  • public final class VirtualGatewaySpecListenerHealthCheck
    extends java.lang.Object
    • Method Detail

      • healthyThreshold

        public java.lang.Integer healthyThreshold()
        Returns:
        Number of consecutive successful health checks that must occur before declaring listener healthy.
      • intervalMillis

        public java.lang.Integer intervalMillis()
        Returns:
        Time period in milliseconds between each health check execution.
      • path

        public java.util.Optional<java.lang.String> path()
        Returns:
        Destination path for the health check request. This is only required if the specified protocol is `http` or `http2`.
      • port

        public java.util.Optional<java.lang.Integer> port()
        Returns:
        Destination port for the health check request. This port must match the port defined in the `portMapping` for the listener.
      • protocol

        public java.lang.String protocol()
        Returns:
        Protocol for the health check request. Valid values are `http`, `http2`, and `grpc`.
      • timeoutMillis

        public java.lang.Integer timeoutMillis()
        Returns:
        Amount of time to wait when receiving a response from the health check, in milliseconds.
      • unhealthyThreshold

        public java.lang.Integer unhealthyThreshold()
        Returns:
        Number of consecutive failed health checks that must occur before declaring a virtual gateway unhealthy.