public static enum RecoveryStatus.ErrorCode extends java.lang.Enum<RecoveryStatus.ErrorCode>
| Enum Constant and Description |
|---|
INTERNAL_ERROR |
NEW_NODE_FAILURE |
REPAIR_FAILED |
SYNC_FAILED |
| Modifier and Type | Method and Description |
|---|---|
static RecoveryStatus.ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RecoveryStatus.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecoveryStatus.ErrorCode REPAIR_FAILED
public static final RecoveryStatus.ErrorCode SYNC_FAILED
public static final RecoveryStatus.ErrorCode NEW_NODE_FAILURE
public static final RecoveryStatus.ErrorCode INTERNAL_ERROR
public static RecoveryStatus.ErrorCode[] values()
for (RecoveryStatus.ErrorCode c : RecoveryStatus.ErrorCode.values()) System.out.println(c);
public static RecoveryStatus.ErrorCode 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 null