public static enum ProcedureProtos.ProcedureState extends Enum<ProcedureProtos.ProcedureState> implements org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnum
hbase.pb.ProcedureState| Enum Constant and Description |
|---|
FAILED
The procedure execution is failed, may need to rollback
|
INITIALIZING
Procedure in construction, not yet added to the executor
|
ROLLEDBACK
The procedure failed and was rolledback
|
RUNNABLE
Procedure added to the executor, and ready to be executed
|
SUCCESS
The procedure execution is completed successfully.
|
WAITING
The procedure is waiting on children to be completed
|
WAITING_TIMEOUT
The procedure is waiting a timout or an external event
|
| Modifier and Type | Field and Description |
|---|---|
static int |
FAILED_VALUE
The procedure execution is failed, may need to rollback
|
static int |
INITIALIZING_VALUE
Procedure in construction, not yet added to the executor
|
static int |
ROLLEDBACK_VALUE
The procedure failed and was rolledback
|
static int |
RUNNABLE_VALUE
Procedure added to the executor, and ready to be executed
|
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
|
static int |
WAITING_VALUE
The procedure is waiting on children to be completed
|
| Modifier and Type | Method and Description |
|---|---|
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)
Deprecated.
Use
forNumber(int) instead. |
static ProcedureProtos.ProcedureState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcedureProtos.ProcedureState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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 - 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 org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLitegetNumber in interface 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 in interface org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnumpublic final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface 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 Cloudera. All rights reserved.