public static enum CircuitBreaker.Type extends Enum<CircuitBreaker.Type>
Modifier and Type | Method and Description |
---|---|
static CircuitBreaker.Type |
parseValue(String value) |
static CircuitBreaker.Type |
valueOf(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(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 static CircuitBreaker.Type parseValue(String value)
Copyright © 2009–2017. All rights reserved.