public enum RetryPolicyType extends Enum<RetryPolicyType>
RequestRetryOptions
.Enum Constant and Description |
---|
EXPONENTIAL
Tells the pipeline to use an exponential back-off retry policy.
|
FIXED
Tells the pipeline to use a fixed back-off retry policy.
|
Modifier and Type | Method and Description |
---|---|
static RetryPolicyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RetryPolicyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RetryPolicyType EXPONENTIAL
public static final RetryPolicyType FIXED
public static RetryPolicyType[] values()
for (RetryPolicyType c : RetryPolicyType.values()) System.out.println(c);
public static RetryPolicyType 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 © 2018. All rights reserved.