org.apache.hadoop.hbase.protobuf.generated
Enum ClusterStatusProtos.RegionState.State

java.lang.Object
  extended by java.lang.Enum<ClusterStatusProtos.RegionState.State>
      extended by org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ClusterStatusProtos.RegionState.State>
Enclosing class:
ClusterStatusProtos.RegionState

public static enum ClusterStatusProtos.RegionState.State
extends Enum<ClusterStatusProtos.RegionState.State>
implements com.google.protobuf.ProtocolMessageEnum

Protobuf enum RegionState.State


Enum Constant Summary
CLOSED
          CLOSED = 6;
CLOSING
          CLOSING = 5;
FAILED_CLOSE
          FAILED_CLOSE = 10;
FAILED_OPEN
          FAILED_OPEN = 9;
MERGED
          MERGED = 12;
MERGING
          MERGING = 11;
MERGING_NEW
          MERGING_NEW = 14;
OFFLINE
          OFFLINE = 0;
OPEN
          OPEN = 3;
OPENING
          OPENING = 2;
PENDING_CLOSE
          PENDING_CLOSE = 4;
PENDING_OPEN
          PENDING_OPEN = 1;
SPLIT
          SPLIT = 8;
SPLITTING
          SPLITTING = 7;
SPLITTING_NEW
          SPLITTING_NEW = 13;
 
Field Summary
static int CLOSED_VALUE
          CLOSED = 6;
static int CLOSING_VALUE
          CLOSING = 5;
static int FAILED_CLOSE_VALUE
          FAILED_CLOSE = 10;
static int FAILED_OPEN_VALUE
          FAILED_OPEN = 9;
static int MERGED_VALUE
          MERGED = 12;
static int MERGING_NEW_VALUE
          MERGING_NEW = 14;
static int MERGING_VALUE
          MERGING = 11;
static int OFFLINE_VALUE
          OFFLINE = 0;
static int OPEN_VALUE
          OPEN = 3;
static int OPENING_VALUE
          OPENING = 2;
static int PENDING_CLOSE_VALUE
          PENDING_CLOSE = 4;
static int PENDING_OPEN_VALUE
          PENDING_OPEN = 1;
static int SPLIT_VALUE
          SPLIT = 8;
static int SPLITTING_NEW_VALUE
          SPLITTING_NEW = 13;
static int SPLITTING_VALUE
          SPLITTING = 7;
 
Method Summary
static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
           
 com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
           
 int getNumber()
           
 com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
           
static com.google.protobuf.Internal.EnumLiteMap<ClusterStatusProtos.RegionState.State> internalGetValueMap()
           
static ClusterStatusProtos.RegionState.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
           
static ClusterStatusProtos.RegionState.State valueOf(int value)
           
static ClusterStatusProtos.RegionState.State valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ClusterStatusProtos.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 ClusterStatusProtos.RegionState.State OFFLINE
OFFLINE = 0;
 region is in an offline state
 


PENDING_OPEN

public static final ClusterStatusProtos.RegionState.State PENDING_OPEN
PENDING_OPEN = 1;
 sent rpc to server to open but has not begun
 


OPENING

public static final ClusterStatusProtos.RegionState.State OPENING
OPENING = 2;
 server has begun to open but not yet done
 


OPEN

public static final ClusterStatusProtos.RegionState.State OPEN
OPEN = 3;
 server opened region and updated meta
 


PENDING_CLOSE

public static final ClusterStatusProtos.RegionState.State PENDING_CLOSE
PENDING_CLOSE = 4;
 sent rpc to server to close but has not begun
 


CLOSING

public static final ClusterStatusProtos.RegionState.State CLOSING
CLOSING = 5;
 server has begun to close but not yet done
 


CLOSED

public static final ClusterStatusProtos.RegionState.State CLOSED
CLOSED = 6;
 server closed region and updated meta
 


SPLITTING

public static final ClusterStatusProtos.RegionState.State SPLITTING
SPLITTING = 7;
 server started split of a region
 


SPLIT

public static final ClusterStatusProtos.RegionState.State SPLIT
SPLIT = 8;
 server completed split of a region
 


FAILED_OPEN

public static final ClusterStatusProtos.RegionState.State FAILED_OPEN
FAILED_OPEN = 9;
 failed to open, and won't retry any more
 


FAILED_CLOSE

public static final ClusterStatusProtos.RegionState.State FAILED_CLOSE
FAILED_CLOSE = 10;
 failed to close, and won't retry any more
 


MERGING

public static final ClusterStatusProtos.RegionState.State MERGING
MERGING = 11;
 server started merge a region
 


MERGED

public static final ClusterStatusProtos.RegionState.State MERGED
MERGED = 12;
 server completed merge of a region
 


SPLITTING_NEW

public static final ClusterStatusProtos.RegionState.State SPLITTING_NEW
SPLITTING_NEW = 13;
 new region to be created when RS splits a parent
 


MERGING_NEW

public static final ClusterStatusProtos.RegionState.State MERGING_NEW
MERGING_NEW = 14;
 region but hasn't be created yet, or master doesn't
 know it's already created
 

Field Detail

OFFLINE_VALUE

public static final int OFFLINE_VALUE
OFFLINE = 0;
 region is in an offline state
 

See Also:
Constant Field Values

PENDING_OPEN_VALUE

public static final int PENDING_OPEN_VALUE
PENDING_OPEN = 1;
 sent rpc to server to open but has not begun
 

See Also:
Constant Field Values

OPENING_VALUE

public static final int OPENING_VALUE
OPENING = 2;
 server has begun to open but not yet done
 

See Also:
Constant Field Values

OPEN_VALUE

public static final int OPEN_VALUE
OPEN = 3;
 server opened region and updated meta
 

See Also:
Constant Field Values

PENDING_CLOSE_VALUE

public static final int PENDING_CLOSE_VALUE
PENDING_CLOSE = 4;
 sent rpc to server to close but has not begun
 

See Also:
Constant Field Values

CLOSING_VALUE

public static final int CLOSING_VALUE
CLOSING = 5;
 server has begun to close but not yet done
 

See Also:
Constant Field Values

CLOSED_VALUE

public static final int CLOSED_VALUE
CLOSED = 6;
 server closed region and updated meta
 

See Also:
Constant Field Values

SPLITTING_VALUE

public static final int SPLITTING_VALUE
SPLITTING = 7;
 server started split of a region
 

See Also:
Constant Field Values

SPLIT_VALUE

public static final int SPLIT_VALUE
SPLIT = 8;
 server completed split of a region
 

See Also:
Constant Field Values

FAILED_OPEN_VALUE

public static final int FAILED_OPEN_VALUE
FAILED_OPEN = 9;
 failed to open, and won't retry any more
 

See Also:
Constant Field Values

FAILED_CLOSE_VALUE

public static final int FAILED_CLOSE_VALUE
FAILED_CLOSE = 10;
 failed to close, and won't retry any more
 

See Also:
Constant Field Values

MERGING_VALUE

public static final int MERGING_VALUE
MERGING = 11;
 server started merge a region
 

See Also:
Constant Field Values

MERGED_VALUE

public static final int MERGED_VALUE
MERGED = 12;
 server completed merge of a region
 

See Also:
Constant Field Values

SPLITTING_NEW_VALUE

public static final int SPLITTING_NEW_VALUE
SPLITTING_NEW = 13;
 new region to be created when RS splits a parent
 

See Also:
Constant Field Values

MERGING_NEW_VALUE

public static final int MERGING_NEW_VALUE
MERGING_NEW = 14;
 region but hasn't be created yet, or master doesn't
 know it's already created
 

See Also:
Constant Field Values
Method Detail

values

public static ClusterStatusProtos.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 (ClusterStatusProtos.RegionState.State c : ClusterStatusProtos.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 ClusterStatusProtos.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

getNumber

public final int getNumber()
Specified by:
getNumber in interface com.google.protobuf.Internal.EnumLite
Specified by:
getNumber in interface com.google.protobuf.ProtocolMessageEnum

valueOf

public static ClusterStatusProtos.RegionState.State valueOf(int value)

internalGetValueMap

public static com.google.protobuf.Internal.EnumLiteMap<ClusterStatusProtos.RegionState.State> internalGetValueMap()

getValueDescriptor

public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
Specified by:
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum

getDescriptorForType

public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum

getDescriptor

public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()

valueOf

public static ClusterStatusProtos.RegionState.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.