public static enum ProcedureProtos.ProcedureState extends Enum<ProcedureProtos.ProcedureState> implements com.google.protobuf.ProtocolMessageEnum
ProcedureState
Enum Constant and Description |
---|
FINISHED
FINISHED = 6; |
INITIALIZING
INITIALIZING = 1; |
ROLLEDBACK
ROLLEDBACK = 5; |
RUNNABLE
RUNNABLE = 2; |
WAITING
WAITING = 3; |
WAITING_TIMEOUT
WAITING_TIMEOUT = 4; |
Modifier and Type | Field and Description |
---|---|
static int |
FINISHED_VALUE
FINISHED = 6; |
static int |
INITIALIZING_VALUE
INITIALIZING = 1; |
static int |
ROLLEDBACK_VALUE
ROLLEDBACK = 5; |
static int |
RUNNABLE_VALUE
RUNNABLE = 2; |
static int |
WAITING_TIMEOUT_VALUE
WAITING_TIMEOUT = 4; |
static int |
WAITING_VALUE
WAITING = 3; |
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<ProcedureProtos.ProcedureState> |
internalGetValueMap() |
static ProcedureProtos.ProcedureState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ProcedureProtos.ProcedureState |
valueOf(int value) |
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
INITIALIZING = 1;
Procedure in construction, not yet added to the executor
public static final ProcedureProtos.ProcedureState RUNNABLE
RUNNABLE = 2;
Procedure added to the executor, and ready to be executed
public static final ProcedureProtos.ProcedureState WAITING
WAITING = 3;
The procedure is waiting on children to be completed
public static final ProcedureProtos.ProcedureState WAITING_TIMEOUT
WAITING_TIMEOUT = 4;
The procedure is waiting a timout or an external event
public static final ProcedureProtos.ProcedureState ROLLEDBACK
ROLLEDBACK = 5;
The procedure failed and was rolledback
public static final ProcedureProtos.ProcedureState FINISHED
FINISHED = 6;
The procedure execution is completed. may need a rollback if failed.
public static final int INITIALIZING_VALUE
INITIALIZING = 1;
Procedure in construction, not yet added to the executor
public static final int RUNNABLE_VALUE
RUNNABLE = 2;
Procedure added to the executor, and ready to be executed
public static final int WAITING_VALUE
WAITING = 3;
The procedure is waiting on children to be completed
public static final int WAITING_TIMEOUT_VALUE
WAITING_TIMEOUT = 4;
The procedure is waiting a timout or an external event
public static final int ROLLEDBACK_VALUE
ROLLEDBACK = 5;
The procedure failed and was rolledback
public static final int FINISHED_VALUE
FINISHED = 6;
The procedure execution is completed. may need a rollback if failed.
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 com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static ProcedureProtos.ProcedureState valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ProcedureProtos.ProcedureState> 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 ProcedureProtos.ProcedureState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.