public static enum RegionServerStatusProtos.RegionStateTransition.TransitionCode extends Enum<RegionServerStatusProtos.RegionStateTransition.TransitionCode> implements com.google.protobuf.ProtocolMessageEnum
RegionStateTransition.TransitionCode
Enum Constant and Description |
---|
CLOSED
CLOSED = 2; |
FAILED_OPEN
FAILED_OPEN = 1; |
MERGE_PONR
MERGE_PONR = 6; |
MERGE_REVERTED
MERGE_REVERTED = 10; |
MERGED
MERGED = 8; |
OPENED
OPENED = 0; |
READY_TO_MERGE
READY_TO_MERGE = 4; |
READY_TO_SPLIT
READY_TO_SPLIT = 3; |
SPLIT
SPLIT = 7; |
SPLIT_PONR
SPLIT_PONR = 5; |
SPLIT_REVERTED
SPLIT_REVERTED = 9; |
Modifier and Type | Field and Description |
---|---|
static int |
CLOSED_VALUE
CLOSED = 2; |
static int |
FAILED_OPEN_VALUE
FAILED_OPEN = 1; |
static int |
MERGE_PONR_VALUE
MERGE_PONR = 6; |
static int |
MERGE_REVERTED_VALUE
MERGE_REVERTED = 10; |
static int |
MERGED_VALUE
MERGED = 8; |
static int |
OPENED_VALUE
OPENED = 0; |
static int |
READY_TO_MERGE_VALUE
READY_TO_MERGE = 4; |
static int |
READY_TO_SPLIT_VALUE
READY_TO_SPLIT = 3; |
static int |
SPLIT_PONR_VALUE
SPLIT_PONR = 5; |
static int |
SPLIT_REVERTED_VALUE
SPLIT_REVERTED = 9; |
static int |
SPLIT_VALUE
SPLIT = 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<RegionServerStatusProtos.RegionStateTransition.TransitionCode> |
internalGetValueMap() |
static RegionServerStatusProtos.RegionStateTransition.TransitionCode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RegionServerStatusProtos.RegionStateTransition.TransitionCode |
valueOf(int value) |
static RegionServerStatusProtos.RegionStateTransition.TransitionCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegionServerStatusProtos.RegionStateTransition.TransitionCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode OPENED
OPENED = 0;
public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode FAILED_OPEN
FAILED_OPEN = 1;
public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode CLOSED
CLOSED = 2;
No failed_close, in which case region server will abort
public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode READY_TO_SPLIT
READY_TO_SPLIT = 3;
Ask master for ok to split/merge region(s)
public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode READY_TO_MERGE
READY_TO_MERGE = 4;
public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode SPLIT_PONR
SPLIT_PONR = 5;
public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode MERGE_PONR
MERGE_PONR = 6;
public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode SPLIT
SPLIT = 7;
public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode MERGED
MERGED = 8;
public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode SPLIT_REVERTED
SPLIT_REVERTED = 9;
public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode MERGE_REVERTED
MERGE_REVERTED = 10;
public static final int OPENED_VALUE
OPENED = 0;
public static final int FAILED_OPEN_VALUE
FAILED_OPEN = 1;
public static final int CLOSED_VALUE
CLOSED = 2;
No failed_close, in which case region server will abort
public static final int READY_TO_SPLIT_VALUE
READY_TO_SPLIT = 3;
Ask master for ok to split/merge region(s)
public static final int READY_TO_MERGE_VALUE
READY_TO_MERGE = 4;
public static final int SPLIT_PONR_VALUE
SPLIT_PONR = 5;
public static final int MERGE_PONR_VALUE
MERGE_PONR = 6;
public static final int SPLIT_VALUE
SPLIT = 7;
public static final int MERGED_VALUE
MERGED = 8;
public static final int SPLIT_REVERTED_VALUE
SPLIT_REVERTED = 9;
public static final int MERGE_REVERTED_VALUE
MERGE_REVERTED = 10;
public static RegionServerStatusProtos.RegionStateTransition.TransitionCode[] values()
for (RegionServerStatusProtos.RegionStateTransition.TransitionCode c : RegionServerStatusProtos.RegionStateTransition.TransitionCode.values()) System.out.println(c);
public static RegionServerStatusProtos.RegionStateTransition.TransitionCode 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 RegionServerStatusProtos.RegionStateTransition.TransitionCode valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<RegionServerStatusProtos.RegionStateTransition.TransitionCode> 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 RegionServerStatusProtos.RegionStateTransition.TransitionCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.