public enum FailedEventPolicy extends java.lang.Enum<FailedEventPolicy>
Enum Constant and Description |
---|
DISCARD
Do not store the event
|
RECORD
Store the event in database, indicating that it has failed on exception
|
Modifier and Type | Method and Description |
---|---|
static FailedEventPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FailedEventPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailedEventPolicy DISCARD
public static final FailedEventPolicy RECORD
public static FailedEventPolicy[] values()
for (FailedEventPolicy c : FailedEventPolicy.values()) System.out.println(c);
public static FailedEventPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright (c) 2003-2019 YourKit. All Rights Reserved.