public static enum RetryPolicy.RetryAction.RetryDecision extends Enum<RetryPolicy.RetryAction.RetryDecision>
Enum Constant and Description |
---|
FAIL |
FAILOVER_AND_RETRY |
RETRY |
Modifier and Type | Method and Description |
---|---|
static RetryPolicy.RetryAction.RetryDecision |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RetryPolicy.RetryAction.RetryDecision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RetryPolicy.RetryAction.RetryDecision FAIL
public static final RetryPolicy.RetryAction.RetryDecision RETRY
public static final RetryPolicy.RetryAction.RetryDecision FAILOVER_AND_RETRY
public static RetryPolicy.RetryAction.RetryDecision[] values()
for (RetryPolicy.RetryAction.RetryDecision c : RetryPolicy.RetryAction.RetryDecision.values()) System.out.println(c);
public static RetryPolicy.RetryAction.RetryDecision 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 © 2013 Apache Software Foundation. All rights reserved.