public enum RetryPolicy extends Enum<RetryPolicy>
| Enum Constant and Description |
|---|
DEFAULT |
DOWNGRADING_CONSISTENCY |
FALLTHROUGH |
LOGGING |
| Modifier and Type | Method and Description |
|---|---|
static RetryPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RetryPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RetryPolicy DEFAULT
public static final RetryPolicy DOWNGRADING_CONSISTENCY
public static final RetryPolicy FALLTHROUGH
public static final RetryPolicy LOGGING
public static RetryPolicy[] values()
for (RetryPolicy c : RetryPolicy.values()) System.out.println(c);
public static RetryPolicy 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 © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.