public static enum FailureDetector.State extends Enum<FailureDetector.State>
| Enum Constant and Description |
|---|
ALIVE |
GONE |
UNKNOWN |
UNRESPONSIVE |
| Modifier and Type | Method and Description |
|---|---|
static FailureDetector.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FailureDetector.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailureDetector.State UNKNOWN
public static final FailureDetector.State ALIVE
public static final FailureDetector.State GONE
public static final FailureDetector.State UNRESPONSIVE
public static FailureDetector.State[] values()
for (FailureDetector.State c : FailureDetector.State.values()) System.out.println(c);
public static FailureDetector.State 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 © 2012–2019. All rights reserved.