public enum RetryType extends Enum<RetryType>
| Enum Constant and Description |
|---|
COUNT_LIMITED_EXPONENTIAL_BACKOFF |
COUNT_LIMITED_FIXED_WAIT |
COUNT_LIMITED_INCREMENTAL_WAIT |
NO_RETRY |
TIME_LIMITED_EXPONENTIAL_BACKOFF |
TIME_LIMITED_FIXED_WAIT |
TIME_LIMITED_INCREMENTAL_WAIT |
| Modifier and Type | Method and Description |
|---|---|
static RetryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RetryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RetryType NO_RETRY
public static final RetryType TIME_LIMITED_EXPONENTIAL_BACKOFF
public static final RetryType TIME_LIMITED_INCREMENTAL_WAIT
public static final RetryType TIME_LIMITED_FIXED_WAIT
public static final RetryType COUNT_LIMITED_EXPONENTIAL_BACKOFF
public static final RetryType COUNT_LIMITED_INCREMENTAL_WAIT
public static final RetryType COUNT_LIMITED_FIXED_WAIT
public static RetryType[] values()
for (RetryType c : RetryType.values()) System.out.println(c);
public static 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 nullCopyright © 2016–2019. All rights reserved.