org.apache.hadoop.hbase.master
Enum RegionState.State
java.lang.Object
java.lang.Enum<RegionState.State>
org.apache.hadoop.hbase.master.RegionState.State
- All Implemented Interfaces:
- Serializable, Comparable<RegionState.State>
- Enclosing class:
- RegionState
public static enum RegionState.State
- extends Enum<RegionState.State>
OFFLINE
public static final RegionState.State OFFLINE
PENDING_OPEN
public static final RegionState.State PENDING_OPEN
OPENING
public static final RegionState.State OPENING
OPEN
public static final RegionState.State OPEN
PENDING_CLOSE
public static final RegionState.State PENDING_CLOSE
CLOSING
public static final RegionState.State CLOSING
CLOSED
public static final RegionState.State CLOSED
SPLITTING
public static final RegionState.State SPLITTING
SPLIT
public static final RegionState.State SPLIT
FAILED_OPEN
public static final RegionState.State FAILED_OPEN
FAILED_CLOSE
public static final RegionState.State FAILED_CLOSE
MERGING
public static final RegionState.State MERGING
MERGED
public static final RegionState.State MERGED
values
public static RegionState.State[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (RegionState.State c : RegionState.State.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RegionState.State valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.