public static enum RetryEvent.Type extends java.lang.Enum<RetryEvent.Type>
| Enum Constant and Description |
|---|
ERROR
A RetryEvent which informs that a call has been retried, but still failed
|
IGNORED_ERROR
A RetryEvent which informs that an error has been ignored
|
SUCCESS
A RetryEvent which informs that a call has been successful
|
| Modifier and Type | Method and Description |
|---|---|
static RetryEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RetryEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RetryEvent.Type ERROR
public static final RetryEvent.Type SUCCESS
public static final RetryEvent.Type IGNORED_ERROR
public static RetryEvent.Type[] values()
for (RetryEvent.Type c : RetryEvent.Type.values()) System.out.println(c);
public static RetryEvent.Type 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 null