Enum OutlierEjectionType

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<OutlierEjectionType>

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

      Enum Constants 
      Enum Constant Description
      CONSECUTIVE_5XX
      In case upstream host returns certain number of consecutive 5xx.
      CONSECUTIVE_GATEWAY_FAILURE
      In case upstream host returns certain number of consecutive gateway errors
      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_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` is set to *true*.
      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_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.
      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.
      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.
      UNRECOGNIZED  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSECUTIVE_5XX_VALUE
      In case upstream host returns certain number of consecutive 5xx.
      static int CONSECUTIVE_GATEWAY_FAILURE_VALUE
      In case upstream host returns certain number of consecutive gateway errors
      static 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_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` is set to *true*.
      static 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.
      static 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.
      static 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.
      static 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.
    • Enum Constant Detail

      • 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_api_field_cluster.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_api_field_cluster.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_api_field_cluster.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_api_field_cluster.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;
    • Field Detail

      • 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_api_field_cluster.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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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_api_field_cluster.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:
        Constant Field Values
      • 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_api_field_cluster.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:
        Constant Field Values
      • 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_api_field_cluster.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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
    • Method Detail

      • values

        public static OutlierEjectionType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (OutlierEjectionType c : OutlierEjectionType.values())
            System.out.println(c);
        
        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