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