public static enum ProcedureProtos.ProcedureState extends Enum<ProcedureProtos.ProcedureState> implements org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnum
hbase.pb.ProcedureState| 枚举常量和说明 |
|---|
FAILED
The procedure execution is failed, may need to rollback
FAILED = 7; |
INITIALIZING
Procedure in construction, not yet added to the executor
INITIALIZING = 1; |
ROLLEDBACK
The procedure failed and was rolledback
ROLLEDBACK = 5; |
RUNNABLE
Procedure added to the executor, and ready to be executed
RUNNABLE = 2; |
SUCCESS
The procedure execution is completed successfully.
|
WAITING
The procedure is waiting on children to be completed
WAITING = 3; |
WAITING_TIMEOUT
The procedure is waiting a timout or an external event
WAITING_TIMEOUT = 4; |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
FAILED_VALUE
The procedure execution is failed, may need to rollback
FAILED = 7; |
static int |
INITIALIZING_VALUE
Procedure in construction, not yet added to the executor
INITIALIZING = 1; |
static int |
ROLLEDBACK_VALUE
The procedure failed and was rolledback
ROLLEDBACK = 5; |
static int |
RUNNABLE_VALUE
Procedure added to the executor, and ready to be executed
RUNNABLE = 2; |
static int |
SUCCESS_VALUE
The procedure execution is completed successfully.
|
static int |
WAITING_TIMEOUT_VALUE
The procedure is waiting a timout or an external event
WAITING_TIMEOUT = 4; |
static int |
WAITING_VALUE
The procedure is waiting on children to be completed
WAITING = 3; |
| 限定符和类型 | 方法和说明 |
|---|---|
static ProcedureProtos.ProcedureState |
forNumber(int value) |
static org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLiteMap<ProcedureProtos.ProcedureState> |
internalGetValueMap() |
static ProcedureProtos.ProcedureState |
valueOf(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ProcedureProtos.ProcedureState |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static ProcedureProtos.ProcedureState |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ProcedureProtos.ProcedureState[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ProcedureProtos.ProcedureState INITIALIZING
Procedure in construction, not yet added to the executor
INITIALIZING = 1;public static final ProcedureProtos.ProcedureState RUNNABLE
Procedure added to the executor, and ready to be executed
RUNNABLE = 2;public static final ProcedureProtos.ProcedureState WAITING
The procedure is waiting on children to be completed
WAITING = 3;public static final ProcedureProtos.ProcedureState WAITING_TIMEOUT
The procedure is waiting a timout or an external event
WAITING_TIMEOUT = 4;public static final ProcedureProtos.ProcedureState ROLLEDBACK
The procedure failed and was rolledback
ROLLEDBACK = 5;public static final ProcedureProtos.ProcedureState SUCCESS
The procedure execution is completed successfully.
SUCCESS = 6;public static final ProcedureProtos.ProcedureState FAILED
The procedure execution is failed, may need to rollback
FAILED = 7;public static final int INITIALIZING_VALUE
Procedure in construction, not yet added to the executor
INITIALIZING = 1;public static final int RUNNABLE_VALUE
Procedure added to the executor, and ready to be executed
RUNNABLE = 2;public static final int WAITING_VALUE
The procedure is waiting on children to be completed
WAITING = 3;public static final int WAITING_TIMEOUT_VALUE
The procedure is waiting a timout or an external event
WAITING_TIMEOUT = 4;public static final int ROLLEDBACK_VALUE
The procedure failed and was rolledback
ROLLEDBACK = 5;public static final int SUCCESS_VALUE
The procedure execution is completed successfully.
SUCCESS = 6;public static final int FAILED_VALUE
The procedure execution is failed, may need to rollback
FAILED = 7;public static ProcedureProtos.ProcedureState[] values()
for (ProcedureProtos.ProcedureState c : ProcedureProtos.ProcedureState.values()) System.out.println(c);
public static ProcedureProtos.ProcedureState valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLitegetNumber 在接口中 org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnum@Deprecated public static ProcedureProtos.ProcedureState valueOf(int value)
forNumber(int) instead.public static ProcedureProtos.ProcedureState forNumber(int value)
public static org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLiteMap<ProcedureProtos.ProcedureState> internalGetValueMap()
public final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor 在接口中 org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnumpublic final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnumpublic static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ProcedureProtos.ProcedureState valueOf(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2007–2019. All rights reserved.