接口 DestinationRuleOuterClass.OutlierDetectionOrBuilder

    • 方法概要

      所有方法 实例方法 抽象方法 已过时的方法 
      修饰符和类型 方法 说明
      com.google.protobuf.Duration getBaseEjectionTime()
      Minimum ejection duration.
      com.google.protobuf.DurationOrBuilder getBaseEjectionTimeOrBuilder()
      Minimum ejection duration.
      com.google.protobuf.UInt32Value getConsecutive5XxErrors()
      Number of 5xx errors before a host is ejected from the connection pool.
      com.google.protobuf.UInt32ValueOrBuilder getConsecutive5XxErrorsOrBuilder()
      Number of 5xx errors before a host is ejected from the connection pool.
      int getConsecutiveErrors()
      已过时。
      com.google.protobuf.UInt32Value getConsecutiveGatewayErrors()
      Number of gateway errors before a host is ejected from the connection pool.
      com.google.protobuf.UInt32ValueOrBuilder getConsecutiveGatewayErrorsOrBuilder()
      Number of gateway errors before a host is ejected from the connection pool.
      com.google.protobuf.Duration getInterval()
      Time interval between ejection sweep analysis. format: 1h/1m/1s/1ms.
      com.google.protobuf.DurationOrBuilder getIntervalOrBuilder()
      Time interval between ejection sweep analysis. format: 1h/1m/1s/1ms.
      int getMaxEjectionPercent()
      Maximum % of hosts in the load balancing pool for the upstream service that can be ejected.
      int getMinHealthPercent()
      Outlier detection will be enabled as long as the associated load balancing pool has at least min_health_percent hosts in healthy mode.
      boolean hasBaseEjectionTime()
      Minimum ejection duration.
      boolean hasConsecutive5XxErrors()
      Number of 5xx errors before a host is ejected from the connection pool.
      boolean hasConsecutiveGatewayErrors()
      Number of gateway errors before a host is ejected from the connection pool.
      boolean hasInterval()
      Time interval between ejection sweep analysis. format: 1h/1m/1s/1ms.
      • 从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 从接口继承的方法 com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • 方法详细资料

      • getConsecutiveErrors

        @Deprecated
        int getConsecutiveErrors()
        已过时。
         Number of errors before a host is ejected from the connection
         pool. Defaults to 5. When the upstream host is accessed over HTTP, a
         502, 503, or 504 return code qualifies as an error. When the upstream host
         is accessed over an opaque TCP connection, connect timeouts and
         connection error/failure events qualify as an error.
         $hide_from_docs
         
        int32 consecutive_errors = 1 [deprecated = true];
        返回:
        The consecutiveErrors.
      • hasConsecutiveGatewayErrors

        boolean hasConsecutiveGatewayErrors()
         Number of gateway errors before a host is ejected from the connection pool.
         When the upstream host is accessed over HTTP, a 502, 503, or 504 return
         code qualifies as a gateway error. When the upstream host is accessed over
         an opaque TCP connection, connect timeouts and connection error/failure
         events qualify as a gateway error.
         This feature is disabled by default or when set to the value 0.
         Note that consecutive_gateway_errors and consecutive_5xx_errors can be
         used separately or together. Because the errors counted by
         consecutive_gateway_errors are also included in consecutive_5xx_errors,
         if the value of consecutive_gateway_errors is greater than or equal to
         the value of consecutive_5xx_errors, consecutive_gateway_errors will have
         no effect.
         
        .google.protobuf.UInt32Value consecutive_gateway_errors = 6;
        返回:
        Whether the consecutiveGatewayErrors field is set.
      • getConsecutiveGatewayErrors

        com.google.protobuf.UInt32Value getConsecutiveGatewayErrors()
         Number of gateway errors before a host is ejected from the connection pool.
         When the upstream host is accessed over HTTP, a 502, 503, or 504 return
         code qualifies as a gateway error. When the upstream host is accessed over
         an opaque TCP connection, connect timeouts and connection error/failure
         events qualify as a gateway error.
         This feature is disabled by default or when set to the value 0.
         Note that consecutive_gateway_errors and consecutive_5xx_errors can be
         used separately or together. Because the errors counted by
         consecutive_gateway_errors are also included in consecutive_5xx_errors,
         if the value of consecutive_gateway_errors is greater than or equal to
         the value of consecutive_5xx_errors, consecutive_gateway_errors will have
         no effect.
         
        .google.protobuf.UInt32Value consecutive_gateway_errors = 6;
        返回:
        The consecutiveGatewayErrors.
      • getConsecutiveGatewayErrorsOrBuilder

        com.google.protobuf.UInt32ValueOrBuilder getConsecutiveGatewayErrorsOrBuilder()
         Number of gateway errors before a host is ejected from the connection pool.
         When the upstream host is accessed over HTTP, a 502, 503, or 504 return
         code qualifies as a gateway error. When the upstream host is accessed over
         an opaque TCP connection, connect timeouts and connection error/failure
         events qualify as a gateway error.
         This feature is disabled by default or when set to the value 0.
         Note that consecutive_gateway_errors and consecutive_5xx_errors can be
         used separately or together. Because the errors counted by
         consecutive_gateway_errors are also included in consecutive_5xx_errors,
         if the value of consecutive_gateway_errors is greater than or equal to
         the value of consecutive_5xx_errors, consecutive_gateway_errors will have
         no effect.
         
        .google.protobuf.UInt32Value consecutive_gateway_errors = 6;
      • hasConsecutive5XxErrors

        boolean hasConsecutive5XxErrors()
         Number of 5xx errors before a host is ejected from the connection pool.
         When the upstream host is accessed over an opaque TCP connection, connect
         timeouts, connection error/failure and request failure events qualify as a
         5xx error.
         This feature defaults to 5 but can be disabled by setting the value to 0.
         Note that consecutive_gateway_errors and consecutive_5xx_errors can be
         used separately or together. Because the errors counted by
         consecutive_gateway_errors are also included in consecutive_5xx_errors,
         if the value of consecutive_gateway_errors is greater than or equal to
         the value of consecutive_5xx_errors, consecutive_gateway_errors will have
         no effect.
         
        .google.protobuf.UInt32Value consecutive_5xx_errors = 7;
        返回:
        Whether the consecutive5xxErrors field is set.
      • getConsecutive5XxErrors

        com.google.protobuf.UInt32Value getConsecutive5XxErrors()
         Number of 5xx errors before a host is ejected from the connection pool.
         When the upstream host is accessed over an opaque TCP connection, connect
         timeouts, connection error/failure and request failure events qualify as a
         5xx error.
         This feature defaults to 5 but can be disabled by setting the value to 0.
         Note that consecutive_gateway_errors and consecutive_5xx_errors can be
         used separately or together. Because the errors counted by
         consecutive_gateway_errors are also included in consecutive_5xx_errors,
         if the value of consecutive_gateway_errors is greater than or equal to
         the value of consecutive_5xx_errors, consecutive_gateway_errors will have
         no effect.
         
        .google.protobuf.UInt32Value consecutive_5xx_errors = 7;
        返回:
        The consecutive5xxErrors.
      • getConsecutive5XxErrorsOrBuilder

        com.google.protobuf.UInt32ValueOrBuilder getConsecutive5XxErrorsOrBuilder()
         Number of 5xx errors before a host is ejected from the connection pool.
         When the upstream host is accessed over an opaque TCP connection, connect
         timeouts, connection error/failure and request failure events qualify as a
         5xx error.
         This feature defaults to 5 but can be disabled by setting the value to 0.
         Note that consecutive_gateway_errors and consecutive_5xx_errors can be
         used separately or together. Because the errors counted by
         consecutive_gateway_errors are also included in consecutive_5xx_errors,
         if the value of consecutive_gateway_errors is greater than or equal to
         the value of consecutive_5xx_errors, consecutive_gateway_errors will have
         no effect.
         
        .google.protobuf.UInt32Value consecutive_5xx_errors = 7;
      • hasInterval

        boolean hasInterval()
         Time interval between ejection sweep analysis. format:
         1h/1m/1s/1ms. MUST BE >=1ms. Default is 10s.
         
        .google.protobuf.Duration interval = 2;
        返回:
        Whether the interval field is set.
      • getInterval

        com.google.protobuf.Duration getInterval()
         Time interval between ejection sweep analysis. format:
         1h/1m/1s/1ms. MUST BE >=1ms. Default is 10s.
         
        .google.protobuf.Duration interval = 2;
        返回:
        The interval.
      • getIntervalOrBuilder

        com.google.protobuf.DurationOrBuilder getIntervalOrBuilder()
         Time interval between ejection sweep analysis. format:
         1h/1m/1s/1ms. MUST BE >=1ms. Default is 10s.
         
        .google.protobuf.Duration interval = 2;
      • hasBaseEjectionTime

        boolean hasBaseEjectionTime()
         Minimum ejection duration. A host will remain ejected for a period
         equal to the product of minimum ejection duration and the number of
         times the host has been ejected. This technique allows the system to
         automatically increase the ejection period for unhealthy upstream
         servers. format: 1h/1m/1s/1ms. MUST BE >=1ms. Default is 30s.
         
        .google.protobuf.Duration base_ejection_time = 3;
        返回:
        Whether the baseEjectionTime field is set.
      • getBaseEjectionTime

        com.google.protobuf.Duration getBaseEjectionTime()
         Minimum ejection duration. A host will remain ejected for a period
         equal to the product of minimum ejection duration and the number of
         times the host has been ejected. This technique allows the system to
         automatically increase the ejection period for unhealthy upstream
         servers. format: 1h/1m/1s/1ms. MUST BE >=1ms. Default is 30s.
         
        .google.protobuf.Duration base_ejection_time = 3;
        返回:
        The baseEjectionTime.
      • getBaseEjectionTimeOrBuilder

        com.google.protobuf.DurationOrBuilder getBaseEjectionTimeOrBuilder()
         Minimum ejection duration. A host will remain ejected for a period
         equal to the product of minimum ejection duration and the number of
         times the host has been ejected. This technique allows the system to
         automatically increase the ejection period for unhealthy upstream
         servers. format: 1h/1m/1s/1ms. MUST BE >=1ms. Default is 30s.
         
        .google.protobuf.Duration base_ejection_time = 3;
      • getMaxEjectionPercent

        int getMaxEjectionPercent()
         Maximum % of hosts in the load balancing pool for the upstream
         service that can be ejected. Defaults to 10%.
         
        int32 max_ejection_percent = 4;
        返回:
        The maxEjectionPercent.
      • getMinHealthPercent

        int getMinHealthPercent()
         Outlier detection will be enabled as long as the associated load balancing
         pool has at least min_health_percent hosts in healthy mode. When the
         percentage of healthy hosts in the load balancing pool drops below this
         threshold, outlier detection will be disabled and the proxy will load balance
         across all hosts in the pool (healthy and unhealthy). The threshold can be
         disabled by setting it to 0%. The default is 0% as it's not typically
         applicable in k8s environments with few pods per service.
         
        int32 min_health_percent = 5;
        返回:
        The minHealthPercent.