public static enum ClusterStatusProtos.RegionState.State extends Enum<ClusterStatusProtos.RegionState.State> implements com.google.protobuf.ProtocolMessageEnum
hbase.pb.RegionState.State| 枚举常量和说明 |
|---|
CLOSED
CLOSED = 6;
server closed region and updated meta
|
CLOSING
CLOSING = 5;
server has begun to close but not yet done
|
FAILED_CLOSE
FAILED_CLOSE = 10;
failed to close, and won't retry any more
|
FAILED_OPEN
FAILED_OPEN = 9;
failed to open, and won't retry any more
|
MERGED
MERGED = 12;
server completed merge of a region
|
MERGING
MERGING = 11;
server started merge a region
|
MERGING_NEW
MERGING_NEW = 14;
region but hasn't be created yet, or master doesn't
know it's already created
|
OFFLINE
OFFLINE = 0;
region is in an offline state
|
OPEN
OPEN = 3;
server opened region and updated meta
|
OPENING
OPENING = 2;
server has begun to open but not yet done
|
PENDING_CLOSE
PENDING_CLOSE = 4;
sent rpc to server to close but has not begun
|
PENDING_OPEN
PENDING_OPEN = 1;
sent rpc to server to open but has not begun
|
SPLIT
SPLIT = 8;
server completed split of a region
|
SPLITTING
SPLITTING = 7;
server started split of a region
|
SPLITTING_NEW
SPLITTING_NEW = 13;
new region to be created when RS splits a parent
|
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
CLOSED_VALUE
CLOSED = 6;
server closed region and updated meta
|
static int |
CLOSING_VALUE
CLOSING = 5;
server has begun to close but not yet done
|
static int |
FAILED_CLOSE_VALUE
FAILED_CLOSE = 10;
failed to close, and won't retry any more
|
static int |
FAILED_OPEN_VALUE
FAILED_OPEN = 9;
failed to open, and won't retry any more
|
static int |
MERGED_VALUE
MERGED = 12;
server completed merge of a region
|
static int |
MERGING_NEW_VALUE
MERGING_NEW = 14;
region but hasn't be created yet, or master doesn't
know it's already created
|
static int |
MERGING_VALUE
MERGING = 11;
server started merge a region
|
static int |
OFFLINE_VALUE
OFFLINE = 0;
region is in an offline state
|
static int |
OPEN_VALUE
OPEN = 3;
server opened region and updated meta
|
static int |
OPENING_VALUE
OPENING = 2;
server has begun to open but not yet done
|
static int |
PENDING_CLOSE_VALUE
PENDING_CLOSE = 4;
sent rpc to server to close but has not begun
|
static int |
PENDING_OPEN_VALUE
PENDING_OPEN = 1;
sent rpc to server to open but has not begun
|
static int |
SPLIT_VALUE
SPLIT = 8;
server completed split of a region
|
static int |
SPLITTING_NEW_VALUE
SPLITTING_NEW = 13;
new region to be created when RS splits a parent
|
static int |
SPLITTING_VALUE
SPLITTING = 7;
server started split of a region
|
| 限定符和类型 | 方法和说明 |
|---|---|
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)
返回带有指定名称的该类型的枚举常量。
|
static ClusterStatusProtos.RegionState.State[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnumpublic 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 在接口中 com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ClusterStatusProtos.RegionState.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2007–2019. All rights reserved.