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>
public enum OutlierEjectionType extends Enum<OutlierEjectionType> implements com.google.protobuf.ProtocolMessageEnum
Type of ejection that took place
Protobuf enumenvoy.data.cluster.v3.OutlierEjectionType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSECUTIVE_5XXIn case upstream host returns certain number of consecutive 5xx.CONSECUTIVE_GATEWAY_FAILUREIn case upstream host returns certain number of consecutive gateway errorsCONSECUTIVE_LOCAL_ORIGIN_FAILUREConsecutive 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``.FAILURE_PERCENTAGERuns 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_ORIGINRuns 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_RATERuns 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_ORIGINRuns 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 intCONSECUTIVE_5XX_VALUEIn case upstream host returns certain number of consecutive 5xx.static intCONSECUTIVE_GATEWAY_FAILURE_VALUEIn case upstream host returns certain number of consecutive gateway errorsstatic intCONSECUTIVE_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``.static intFAILURE_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.static intFAILURE_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.static intSUCCESS_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.static intSUCCESS_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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OutlierEjectionTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<OutlierEjectionType>internalGetValueMap()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 OutlierEjectionTypevalueOf(String name)Returns 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 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_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 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_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:
- 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_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:
- 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_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:
- 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_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:
- 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 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 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 nameNullPointerException- 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:
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
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 nameNullPointerException- if the argument is null
-
-