public static enum RetryerFactory.RetryType extends Enum<RetryerFactory.RetryType>
| Enum Constant and Description |
|---|
EXPONENTIAL |
FIXED |
FIXED_ATTEMPT |
| Modifier and Type | Method and Description |
|---|---|
static RetryerFactory.RetryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RetryerFactory.RetryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RetryerFactory.RetryType EXPONENTIAL
public static final RetryerFactory.RetryType FIXED
public static final RetryerFactory.RetryType FIXED_ATTEMPT
public static RetryerFactory.RetryType[] values()
for (RetryerFactory.RetryType c : RetryerFactory.RetryType.values()) System.out.println(c);
public static RetryerFactory.RetryType 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 null