public enum RetryMode extends Enum<RetryMode>
| Enum Constant and Description | 
|---|
LEGACY
The legacy mode that only enables throttled retry for transient errors 
 | 
STANDARD
Standard mode is built on top of legacy mode and has throttled retry enabled for throttling errors apart from transient
 errors. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static RetryMode | 
fromName(String value)
Returns a retry mode enum corresponding to the given retryMode name. 
 | 
String | 
getName()  | 
static RetryMode | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static RetryMode[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final RetryMode LEGACY
public static RetryMode[] values()
for (RetryMode c : RetryMode.values()) System.out.println(c);
public static RetryMode 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 nullpublic String getName()