Enum OutlierEjectionType

java.lang.Object
java.lang.Enum<OutlierEjectionType>
io.envoyproxy.envoy.data.cluster.v3.OutlierEjectionType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<OutlierEjectionType>, java.lang.constant.Constable

public enum OutlierEjectionType extends Enum<OutlierEjectionType> implements com.google.protobuf.ProtocolMessageEnum
 Type of ejection that took place
 
Protobuf enum envoy.data.cluster.v3.OutlierEjectionType
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    In case upstream host returns certain number of consecutive 5xx.
    In case upstream host returns certain number of consecutive gateway errors
    Consecutive local origin failures: Connection failures, resets, timeouts, etc This type of ejection happens only when :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is set to ``true``.
    Runs over aggregated success rate statistics from every host in cluster and selects hosts for which ratio of failed replies is above configured value.
    Runs over aggregated success rate statistics for local origin failures from every host in cluster and selects hosts for which ratio of failed replies is above configured value.
    Runs over aggregated success rate statistics from every host in cluster and selects hosts for which ratio of successful replies deviates from other hosts in the cluster.
    Runs over aggregated success rate statistics for local origin failures for all hosts in the cluster and selects hosts for which success rate deviates from other hosts in the cluster.
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    In case upstream host returns certain number of consecutive 5xx.
    static final int
    In case upstream host returns certain number of consecutive gateway errors
    static final int
    Consecutive local origin failures: Connection failures, resets, timeouts, etc This type of ejection happens only when :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is set to ``true``.
    static final int
    Runs over aggregated success rate statistics for local origin failures from every host in cluster and selects hosts for which ratio of failed replies is above configured value.
    static final int
    Runs over aggregated success rate statistics from every host in cluster and selects hosts for which ratio of failed replies is above configured value.
    static final int
    Runs over aggregated success rate statistics for local origin failures for all hosts in the cluster and selects hosts for which success rate deviates from other hosts in the cluster.
    static final int
    Runs over aggregated success rate statistics from every host in cluster and selects hosts for which ratio of successful replies deviates from other hosts in the cluster.
  • Method Summary

    Modifier and Type
    Method
    Description
    forNumber(int value)
     
    static final com.google.protobuf.Descriptors.EnumDescriptor
     
    final com.google.protobuf.Descriptors.EnumDescriptor
     
    final int
     
    final com.google.protobuf.Descriptors.EnumValueDescriptor
     
    static com.google.protobuf.Internal.EnumLiteMap<OutlierEjectionType>
     
    valueOf(int value)
    Deprecated.
    valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
    Returns the enum constant of this type with the specified name.
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • CONSECUTIVE_5XX

      public static final OutlierEjectionType CONSECUTIVE_5XX
       In case upstream host returns certain number of consecutive 5xx.
       If
       :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
       is ``false``, all type of errors are treated as HTTP 5xx errors.
       See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
       details.
       
      CONSECUTIVE_5XX = 0;
    • CONSECUTIVE_GATEWAY_FAILURE

      public static final OutlierEjectionType CONSECUTIVE_GATEWAY_FAILURE
       In case upstream host returns certain number of consecutive gateway errors
       
      CONSECUTIVE_GATEWAY_FAILURE = 1;
    • SUCCESS_RATE

      public static final OutlierEjectionType SUCCESS_RATE
       Runs over aggregated success rate statistics from every host in cluster
       and selects hosts for which ratio of successful replies deviates from other hosts
       in the cluster.
       If
       :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
       is ``false``, all errors (externally and locally generated) are used to calculate success rate
       statistics. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>`
       documentation for details.
       
      SUCCESS_RATE = 2;
    • CONSECUTIVE_LOCAL_ORIGIN_FAILURE

      public static final OutlierEjectionType CONSECUTIVE_LOCAL_ORIGIN_FAILURE
       Consecutive local origin failures: Connection failures, resets, timeouts, etc
       This type of ejection happens only when
       :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
       is set to ``true``.
       See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
       
      CONSECUTIVE_LOCAL_ORIGIN_FAILURE = 3;
    • SUCCESS_RATE_LOCAL_ORIGIN

      public static final OutlierEjectionType SUCCESS_RATE_LOCAL_ORIGIN
       Runs over aggregated success rate statistics for local origin failures
       for all hosts in the cluster and selects hosts for which success rate deviates from other
       hosts in the cluster. This type of ejection happens only when
       :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
       is set to ``true``.
       See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
       
      SUCCESS_RATE_LOCAL_ORIGIN = 4;
    • FAILURE_PERCENTAGE

      public static final OutlierEjectionType FAILURE_PERCENTAGE
       Runs over aggregated success rate statistics from every host in cluster and selects hosts for
       which ratio of failed replies is above configured value.
       
      FAILURE_PERCENTAGE = 5;
    • FAILURE_PERCENTAGE_LOCAL_ORIGIN

      public static final OutlierEjectionType FAILURE_PERCENTAGE_LOCAL_ORIGIN
       Runs over aggregated success rate statistics for local origin failures from every host in
       cluster and selects hosts for which ratio of failed replies is above configured value.
       
      FAILURE_PERCENTAGE_LOCAL_ORIGIN = 6;
    • UNRECOGNIZED

      public static final OutlierEjectionType UNRECOGNIZED
  • Field Details

    • CONSECUTIVE_5XX_VALUE

      public static final int CONSECUTIVE_5XX_VALUE
       In case upstream host returns certain number of consecutive 5xx.
       If
       :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
       is ``false``, all type of errors are treated as HTTP 5xx errors.
       See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
       details.
       
      CONSECUTIVE_5XX = 0;
      See Also:
    • CONSECUTIVE_GATEWAY_FAILURE_VALUE

      public static final int CONSECUTIVE_GATEWAY_FAILURE_VALUE
       In case upstream host returns certain number of consecutive gateway errors
       
      CONSECUTIVE_GATEWAY_FAILURE = 1;
      See Also:
    • SUCCESS_RATE_VALUE

      public static final int SUCCESS_RATE_VALUE
       Runs over aggregated success rate statistics from every host in cluster
       and selects hosts for which ratio of successful replies deviates from other hosts
       in the cluster.
       If
       :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
       is ``false``, all errors (externally and locally generated) are used to calculate success rate
       statistics. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>`
       documentation for details.
       
      SUCCESS_RATE = 2;
      See Also:
    • CONSECUTIVE_LOCAL_ORIGIN_FAILURE_VALUE

      public static final int CONSECUTIVE_LOCAL_ORIGIN_FAILURE_VALUE
       Consecutive local origin failures: Connection failures, resets, timeouts, etc
       This type of ejection happens only when
       :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
       is set to ``true``.
       See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
       
      CONSECUTIVE_LOCAL_ORIGIN_FAILURE = 3;
      See Also:
    • SUCCESS_RATE_LOCAL_ORIGIN_VALUE

      public static final int SUCCESS_RATE_LOCAL_ORIGIN_VALUE
       Runs over aggregated success rate statistics for local origin failures
       for all hosts in the cluster and selects hosts for which success rate deviates from other
       hosts in the cluster. This type of ejection happens only when
       :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
       is set to ``true``.
       See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
       
      SUCCESS_RATE_LOCAL_ORIGIN = 4;
      See Also:
    • FAILURE_PERCENTAGE_VALUE

      public static final int FAILURE_PERCENTAGE_VALUE
       Runs over aggregated success rate statistics from every host in cluster and selects hosts for
       which ratio of failed replies is above configured value.
       
      FAILURE_PERCENTAGE = 5;
      See Also:
    • FAILURE_PERCENTAGE_LOCAL_ORIGIN_VALUE

      public static final int FAILURE_PERCENTAGE_LOCAL_ORIGIN_VALUE
       Runs over aggregated success rate statistics for local origin failures from every host in
       cluster and selects hosts for which ratio of failed replies is above configured value.
       
      FAILURE_PERCENTAGE_LOCAL_ORIGIN = 6;
      See Also:
  • Method Details

    • values

      public static OutlierEjectionType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static OutlierEjectionType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static OutlierEjectionType valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static OutlierEjectionType forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<OutlierEjectionType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static OutlierEjectionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null