public static enum CircuitBreaker.Type extends java.lang.Enum<CircuitBreaker.Type>
Modifier and Type | Method and Description |
---|---|
static CircuitBreaker.Type |
parseValue(java.lang.String value) |
static CircuitBreaker.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CircuitBreaker.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CircuitBreaker.Type MEMORY
public static final CircuitBreaker.Type PARENT
public static final CircuitBreaker.Type NOOP
public static CircuitBreaker.Type[] values()
for (CircuitBreaker.Type c : CircuitBreaker.Type.values()) System.out.println(c);
public static CircuitBreaker.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CircuitBreaker.Type parseValue(java.lang.String value)