public static enum RegionStates.ServerState extends 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(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(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 © 2007–2019 Cloudera. All rights reserved.