public static enum RecoveryState.Type extends Enum<RecoveryState.Type>
Enum Constant and Description |
---|
RELOCATION |
REPLICA |
SNAPSHOT |
STORE |
Modifier and Type | Method and Description |
---|---|
static RecoveryState.Type |
fromId(byte id) |
byte |
id() |
static RecoveryState.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecoveryState.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecoveryState.Type STORE
public static final RecoveryState.Type SNAPSHOT
public static final RecoveryState.Type REPLICA
public static final RecoveryState.Type RELOCATION
public static RecoveryState.Type[] values()
for (RecoveryState.Type c : RecoveryState.Type.values()) System.out.println(c);
public static RecoveryState.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 byte id()
public static RecoveryState.Type fromId(byte id)
Copyright © 2009–2016. All rights reserved.