public static enum RegionStates.ServerState extends java.lang.Enum<RegionStates.ServerState>
| Enum Constant and Description |
|---|
OFFLINE
WAL splitting done.
|
ONLINE
Initial state.
|
SPLITTING
Server expired/crashed.
|
SPLITTING_META
Only server which carries meta can have this state.
|
SPLITTING_META_DONE
Indicate that the meta splitting is done.
|
| Modifier and Type | Method and Description |
|---|---|
static RegionStates.ServerState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RegionStates.ServerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegionStates.ServerState ONLINE
public static final RegionStates.ServerState SPLITTING_META
public static final RegionStates.ServerState SPLITTING_META_DONE
public static final RegionStates.ServerState SPLITTING
public static final RegionStates.ServerState OFFLINE
public static RegionStates.ServerState[] values()
for (RegionStates.ServerState c : RegionStates.ServerState.values()) System.out.println(c);
public static RegionStates.ServerState 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