org.apache.hadoop.hbase.master
Enum AssignmentManager.RegionState.State

java.lang.Object
  extended by java.lang.Enum<AssignmentManager.RegionState.State>
      extended by org.apache.hadoop.hbase.master.AssignmentManager.RegionState.State
All Implemented Interfaces:
Serializable, Comparable<AssignmentManager.RegionState.State>
Enclosing class:
AssignmentManager.RegionState

public static enum AssignmentManager.RegionState.State
extends Enum<AssignmentManager.RegionState.State>


Enum Constant Summary
CLOSED
           
CLOSING
           
OFFLINE
           
OPEN
           
OPENING
           
PENDING_CLOSE
           
PENDING_OPEN
           
 
Method Summary
static AssignmentManager.RegionState.State valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AssignmentManager.RegionState.State[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OFFLINE

public static final AssignmentManager.RegionState.State OFFLINE

PENDING_OPEN

public static final AssignmentManager.RegionState.State PENDING_OPEN

OPENING

public static final AssignmentManager.RegionState.State OPENING

OPEN

public static final AssignmentManager.RegionState.State OPEN

PENDING_CLOSE

public static final AssignmentManager.RegionState.State PENDING_CLOSE

CLOSING

public static final AssignmentManager.RegionState.State CLOSING

CLOSED

public static final AssignmentManager.RegionState.State CLOSED
Method Detail

values

public static AssignmentManager.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 (AssignmentManager.RegionState.State c : AssignmentManager.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 AssignmentManager.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 © 2011 The Apache Software Foundation. All Rights Reserved.