public static enum ClusterStatusProtos.RegionState.State extends Enum<ClusterStatusProtos.RegionState.State> implements com.google.protobuf.ProtocolMessageEnum
hbase.pb.RegionState.State
Enum Constant and Description |
---|
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; |
Modifier and Type | Field and Description |
---|---|
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; |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final ClusterStatusProtos.RegionState.State OFFLINE
OFFLINE = 0;
region is in an offline state
public static final ClusterStatusProtos.RegionState.State PENDING_OPEN
PENDING_OPEN = 1;
sent rpc to server to open but has not begun
public static final ClusterStatusProtos.RegionState.State OPENING
OPENING = 2;
server has begun to open but not yet done
public static final ClusterStatusProtos.RegionState.State OPEN
OPEN = 3;
server opened region and updated meta
public static final ClusterStatusProtos.RegionState.State PENDING_CLOSE
PENDING_CLOSE = 4;
sent rpc to server to close but has not begun
public static final ClusterStatusProtos.RegionState.State CLOSING
CLOSING = 5;
server has begun to close but not yet done
public static final ClusterStatusProtos.RegionState.State CLOSED
CLOSED = 6;
server closed region and updated meta
public static final ClusterStatusProtos.RegionState.State SPLITTING
SPLITTING = 7;
server started split of a region
public static final ClusterStatusProtos.RegionState.State SPLIT
SPLIT = 8;
server completed split of a region
public static final ClusterStatusProtos.RegionState.State FAILED_OPEN
FAILED_OPEN = 9;
failed to open, and won't retry any more
public static final ClusterStatusProtos.RegionState.State FAILED_CLOSE
FAILED_CLOSE = 10;
failed to close, and won't retry any more
public static final ClusterStatusProtos.RegionState.State MERGING
MERGING = 11;
server started merge a region
public static final ClusterStatusProtos.RegionState.State MERGED
MERGED = 12;
server completed merge of a region
public static final ClusterStatusProtos.RegionState.State SPLITTING_NEW
SPLITTING_NEW = 13;
new region to be created when RS splits a parent
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
public static final int OFFLINE_VALUE
OFFLINE = 0;
region is in an offline state
public static final int PENDING_OPEN_VALUE
PENDING_OPEN = 1;
sent rpc to server to open but has not begun
public static final int OPENING_VALUE
OPENING = 2;
server has begun to open but not yet done
public static final int OPEN_VALUE
OPEN = 3;
server opened region and updated meta
public static final int PENDING_CLOSE_VALUE
PENDING_CLOSE = 4;
sent rpc to server to close but has not begun
public static final int CLOSING_VALUE
CLOSING = 5;
server has begun to close but not yet done
public static final int CLOSED_VALUE
CLOSED = 6;
server closed region and updated meta
public static final int SPLITTING_VALUE
SPLITTING = 7;
server started split of a region
public static final int SPLIT_VALUE
SPLIT = 8;
server completed split of a region
public static final int FAILED_OPEN_VALUE
FAILED_OPEN = 9;
failed to open, and won't retry any more
public static final int FAILED_CLOSE_VALUE
FAILED_CLOSE = 10;
failed to close, and won't retry any more
public static final int MERGING_VALUE
MERGING = 11;
server started merge a region
public static final int MERGED_VALUE
MERGED = 12;
server completed merge of a region
public static final int SPLITTING_NEW_VALUE
SPLITTING_NEW = 13;
new region to be created when RS splits a parent
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
public static ClusterStatusProtos.RegionState.State[] values()
for (ClusterStatusProtos.RegionState.State c : ClusterStatusProtos.RegionState.State.values()) System.out.println(c);
public static ClusterStatusProtos.RegionState.State 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 nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static ClusterStatusProtos.RegionState.State valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ClusterStatusProtos.RegionState.State> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ClusterStatusProtos.RegionState.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2007–2019 Cloudera. All rights reserved.