Class VirtualNodeSpecListenerHealthCheck


  • public final class VirtualNodeSpecListenerHealthCheck
    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:
        File path to write access logs to. You can use `/dev/stdout` to send access logs to standard out. Must be between 1 and 255 characters in length.
      • port

        public java.util.Optional<java.lang.Integer> port()
        Returns:
        Port used for the port mapping.
      • protocol

        public java.lang.String protocol()
        Returns:
        Protocol used for the port mapping. Valid values are `http`, `http2`, `tcp` 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 node unhealthy.