Enum 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 placeProtobuf 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 ConstantsEnum ConstantDescriptionIn case upstream host returns certain number of consecutive 5xx.In case upstream host returns certain number of consecutive gateway errorsConsecutive 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
FieldsModifier and TypeFieldDescriptionstatic final intIn case upstream host returns certain number of consecutive 5xx.static final intIn case upstream host returns certain number of consecutive gateway errorsstatic final intConsecutive 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 intRuns 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 intRuns 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 intRuns 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 intRuns 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 TypeMethodDescriptionstatic OutlierEjectionTypeforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<OutlierEjectionType>static OutlierEjectionTypevalueOf(int value) Deprecated.static OutlierEjectionTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static OutlierEjectionTypeReturns the enum constant of this type with the specified name.static OutlierEjectionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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
In case upstream host returns certain number of consecutive gateway errors
CONSECUTIVE_GATEWAY_FAILURE = 1; -
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
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
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
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
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
-
-
Field Details
-
CONSECUTIVE_5XX_VALUE
public static final int CONSECUTIVE_5XX_VALUEIn 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_VALUEIn 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_VALUERuns 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_VALUEConsecutive 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_VALUERuns 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_VALUERuns 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_VALUERuns 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
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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 nameNullPointerException- if the argument is null
-