public static enum Watchdog.WatchdogAction.WatchdogEvent extends Enum<Watchdog.WatchdogAction.WatchdogEvent> implements com.google.protobuf.ProtocolMessageEnum
The events are fired in this order: KILL, MULTIKILL, MEGAMISS, MISS. Within an event type, actions execute in the order they are configured. For KILL/MULTIKILL there is a default PANIC that will run after the registered actions and kills the process if it wasn't already killed. It might be useful to specify several debug actions, and possibly an alternate FATAL action.Protobuf enum
envoy.config.bootstrap.v3.Watchdog.WatchdogAction.WatchdogEvent| Enum Constant and Description |
|---|
KILL
KILL = 1; |
MEGAMISS
MEGAMISS = 3; |
MISS
MISS = 4; |
MULTIKILL
MULTIKILL = 2; |
UNKNOWN
UNKNOWN = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
KILL_VALUE
KILL = 1; |
static int |
MEGAMISS_VALUE
MEGAMISS = 3; |
static int |
MISS_VALUE
MISS = 4; |
static int |
MULTIKILL_VALUE
MULTIKILL = 2; |
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
| Modifier and Type | Method and Description |
|---|---|
static Watchdog.WatchdogAction.WatchdogEvent |
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<Watchdog.WatchdogAction.WatchdogEvent> |
internalGetValueMap() |
static Watchdog.WatchdogAction.WatchdogEvent |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Watchdog.WatchdogAction.WatchdogEvent |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Watchdog.WatchdogAction.WatchdogEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Watchdog.WatchdogAction.WatchdogEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Watchdog.WatchdogAction.WatchdogEvent UNKNOWN
UNKNOWN = 0;public static final Watchdog.WatchdogAction.WatchdogEvent KILL
KILL = 1;public static final Watchdog.WatchdogAction.WatchdogEvent MULTIKILL
MULTIKILL = 2;public static final Watchdog.WatchdogAction.WatchdogEvent MEGAMISS
MEGAMISS = 3;public static final Watchdog.WatchdogAction.WatchdogEvent MISS
MISS = 4;public static final Watchdog.WatchdogAction.WatchdogEvent UNRECOGNIZED
public static final int UNKNOWN_VALUE
UNKNOWN = 0;public static final int KILL_VALUE
KILL = 1;public static final int MULTIKILL_VALUE
MULTIKILL = 2;public static final int MEGAMISS_VALUE
MEGAMISS = 3;public static final int MISS_VALUE
MISS = 4;public static Watchdog.WatchdogAction.WatchdogEvent[] values()
for (Watchdog.WatchdogAction.WatchdogEvent c : Watchdog.WatchdogAction.WatchdogEvent.values()) System.out.println(c);
public static Watchdog.WatchdogAction.WatchdogEvent 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 Watchdog.WatchdogAction.WatchdogEvent valueOf(int value)
forNumber(int) instead.public static Watchdog.WatchdogAction.WatchdogEvent forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Watchdog.WatchdogAction.WatchdogEvent> 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 Watchdog.WatchdogAction.WatchdogEvent valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.