public enum OutlierEjectionType extends Enum<OutlierEjectionType> implements com.google.protobuf.ProtocolMessageEnum
Type of ejection that took placeProtobuf enum
envoy.data.cluster.v2alpha.OutlierEjectionType| Enum Constant and Description |
|---|
CONSECUTIVE_5XX
In case upstream host returns certain number of consecutive 5xx
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
SUCCESS_RATE = 2; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSECUTIVE_5XX_VALUE
In case upstream host returns certain number of consecutive 5xx
CONSECUTIVE_5XX = 0; |
static int |
CONSECUTIVE_GATEWAY_FAILURE_VALUE
In case upstream host returns certain number of consecutive gateway errors
CONSECUTIVE_GATEWAY_FAILURE = 1; |
static int |
SUCCESS_RATE_VALUE
Runs over aggregated success rate statistics from every host in cluster
SUCCESS_RATE = 2; |
| Modifier and Type | Method and Description |
|---|---|
static OutlierEjectionType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<OutlierEjectionType> |
internalGetValueMap() |
static OutlierEjectionType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static OutlierEjectionType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OutlierEjectionType |
valueOf(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.
|
public static final OutlierEjectionType CONSECUTIVE_5XX
In case upstream host returns certain number of consecutive 5xx
CONSECUTIVE_5XX = 0;public static final OutlierEjectionType CONSECUTIVE_GATEWAY_FAILURE
In case upstream host returns certain number of consecutive gateway errors
CONSECUTIVE_GATEWAY_FAILURE = 1;public static final OutlierEjectionType SUCCESS_RATE
Runs over aggregated success rate statistics from every host in cluster
SUCCESS_RATE = 2;public static final OutlierEjectionType UNRECOGNIZED
public static final int CONSECUTIVE_5XX_VALUE
In case upstream host returns certain number of consecutive 5xx
CONSECUTIVE_5XX = 0;public static final int CONSECUTIVE_GATEWAY_FAILURE_VALUE
In case upstream host returns certain number of consecutive gateway errors
CONSECUTIVE_GATEWAY_FAILURE = 1;public static final int SUCCESS_RATE_VALUE
Runs over aggregated success rate statistics from every host in cluster
SUCCESS_RATE = 2;public static OutlierEjectionType[] values()
for (OutlierEjectionType c : OutlierEjectionType.values()) System.out.println(c);
public static OutlierEjectionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static OutlierEjectionType valueOf(int value)
forNumber(int) instead.public static OutlierEjectionType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<OutlierEjectionType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static OutlierEjectionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2019 The Envoy Project. All rights reserved.