public static enum CircuitBreaker.Name extends Enum<CircuitBreaker.Name>
Modifier and Type | Method and Description |
---|---|
int |
getSerializableValue() |
static CircuitBreaker.Name |
readFrom(StreamInput in) |
static CircuitBreaker.Name |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CircuitBreaker.Name[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static void |
writeTo(CircuitBreaker.Name name,
StreamOutput out) |
public static final CircuitBreaker.Name PARENT
public static final CircuitBreaker.Name FIELDDATA
public static final CircuitBreaker.Name REQUEST
public static CircuitBreaker.Name[] values()
for (CircuitBreaker.Name c : CircuitBreaker.Name.values()) System.out.println(c);
public static CircuitBreaker.Name 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 int getSerializableValue()
public static CircuitBreaker.Name readFrom(StreamInput in) throws IOException
IOException
public static void writeTo(CircuitBreaker.Name name, StreamOutput out) throws IOException
IOException
Copyright © 2009–2015. All rights reserved.