public static enum Protos.OperationState extends java.lang.Enum<Protos.OperationState>
Describes possible operation states.Protobuf enum
mesos.OperationState
Enum Constant and Description |
---|
OPERATION_DROPPED
TERMINAL: The operation was dropped due to a transient error.
|
OPERATION_ERROR
TERMINAL: The operation description contains an error.
|
OPERATION_FAILED
TERMINAL: The operation failed to apply.
|
OPERATION_FINISHED
TERMINAL: The operation was successfully applied.
|
OPERATION_GONE_BY_OPERATOR
The operation affected an agent that the master cannot contact;
the operator has asserted that the agent has been shutdown, but this has
not been directly confirmed by the master.
|
OPERATION_PENDING
Initial state.
|
OPERATION_RECOVERING
The operation affects an agent that the master recovered from its
state, but that agent has not yet re-registered.
|
OPERATION_UNKNOWN
The master has no knowledge of the operation.
|
OPERATION_UNREACHABLE
The operation affects an agent that has lost contact with the master,
typically due to a network failure or partition.
|
OPERATION_UNSUPPORTED
Default value if the enum is not set.
|
Modifier and Type | Field and Description |
---|---|
static int |
OPERATION_DROPPED_VALUE
TERMINAL: The operation was dropped due to a transient error.
|
static int |
OPERATION_ERROR_VALUE
TERMINAL: The operation description contains an error.
|
static int |
OPERATION_FAILED_VALUE
TERMINAL: The operation failed to apply.
|
static int |
OPERATION_FINISHED_VALUE
TERMINAL: The operation was successfully applied.
|
static int |
OPERATION_GONE_BY_OPERATOR_VALUE
The operation affected an agent that the master cannot contact;
the operator has asserted that the agent has been shutdown, but this has
not been directly confirmed by the master.
|
static int |
OPERATION_PENDING_VALUE
Initial state.
|
static int |
OPERATION_RECOVERING_VALUE
The operation affects an agent that the master recovered from its
state, but that agent has not yet re-registered.
|
static int |
OPERATION_UNKNOWN_VALUE
The master has no knowledge of the operation.
|
static int |
OPERATION_UNREACHABLE_VALUE
The operation affects an agent that has lost contact with the master,
typically due to a network failure or partition.
|
static int |
OPERATION_UNSUPPORTED_VALUE
Default value if the enum is not set.
|
Modifier and Type | Method and Description |
---|---|
static Protos.OperationState |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static <any> |
internalGetValueMap() |
static Protos.OperationState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protos.OperationState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protos.OperationState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Protos.OperationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.OperationState OPERATION_UNSUPPORTED
Default value if the enum is not set. See MESOS-4997.
OPERATION_UNSUPPORTED = 0;
public static final Protos.OperationState OPERATION_PENDING
Initial state.
OPERATION_PENDING = 1;
public static final Protos.OperationState OPERATION_FINISHED
TERMINAL: The operation was successfully applied.
OPERATION_FINISHED = 2;
public static final Protos.OperationState OPERATION_FAILED
TERMINAL: The operation failed to apply.
OPERATION_FAILED = 3;
public static final Protos.OperationState OPERATION_ERROR
TERMINAL: The operation description contains an error.
OPERATION_ERROR = 4;
public static final Protos.OperationState OPERATION_DROPPED
TERMINAL: The operation was dropped due to a transient error.
OPERATION_DROPPED = 5;
public static final Protos.OperationState OPERATION_UNREACHABLE
The operation affects an agent that has lost contact with the master, typically due to a network failure or partition. The operation may or may not still be pending.
OPERATION_UNREACHABLE = 6;
public static final Protos.OperationState OPERATION_GONE_BY_OPERATOR
The operation affected an agent that the master cannot contact; the operator has asserted that the agent has been shutdown, but this has not been directly confirmed by the master. If the operator is correct, the operation is not pending and this is a terminal state; if the operator is mistaken, the operation may still be pending and might return to a different state in the future.
OPERATION_GONE_BY_OPERATOR = 7;
public static final Protos.OperationState OPERATION_RECOVERING
The operation affects an agent that the master recovered from its state, but that agent has not yet re-registered. The operation can transition to `OPERATION_UNREACHABLE` if the corresponding agent is marked as unreachable, and will transition to another status if the agent re-registers.
OPERATION_RECOVERING = 8;
public static final Protos.OperationState OPERATION_UNKNOWN
The master has no knowledge of the operation. This is typically because either (a) the master never had knowledge of the operation, or (b) the master forgot about the operation because it garbage collected its metadata about the operation. The operation may or may not still be pending.
OPERATION_UNKNOWN = 9;
public static final int OPERATION_UNSUPPORTED_VALUE
Default value if the enum is not set. See MESOS-4997.
OPERATION_UNSUPPORTED = 0;
public static final int OPERATION_PENDING_VALUE
Initial state.
OPERATION_PENDING = 1;
public static final int OPERATION_FINISHED_VALUE
TERMINAL: The operation was successfully applied.
OPERATION_FINISHED = 2;
public static final int OPERATION_FAILED_VALUE
TERMINAL: The operation failed to apply.
OPERATION_FAILED = 3;
public static final int OPERATION_ERROR_VALUE
TERMINAL: The operation description contains an error.
OPERATION_ERROR = 4;
public static final int OPERATION_DROPPED_VALUE
TERMINAL: The operation was dropped due to a transient error.
OPERATION_DROPPED = 5;
public static final int OPERATION_UNREACHABLE_VALUE
The operation affects an agent that has lost contact with the master, typically due to a network failure or partition. The operation may or may not still be pending.
OPERATION_UNREACHABLE = 6;
public static final int OPERATION_GONE_BY_OPERATOR_VALUE
The operation affected an agent that the master cannot contact; the operator has asserted that the agent has been shutdown, but this has not been directly confirmed by the master. If the operator is correct, the operation is not pending and this is a terminal state; if the operator is mistaken, the operation may still be pending and might return to a different state in the future.
OPERATION_GONE_BY_OPERATOR = 7;
public static final int OPERATION_RECOVERING_VALUE
The operation affects an agent that the master recovered from its state, but that agent has not yet re-registered. The operation can transition to `OPERATION_UNREACHABLE` if the corresponding agent is marked as unreachable, and will transition to another status if the agent re-registers.
OPERATION_RECOVERING = 8;
public static final int OPERATION_UNKNOWN_VALUE
The master has no knowledge of the operation. This is typically because either (a) the master never had knowledge of the operation, or (b) the master forgot about the operation because it garbage collected its metadata about the operation. The operation may or may not still be pending.
OPERATION_UNKNOWN = 9;
public static Protos.OperationState[] values()
for (Protos.OperationState c : Protos.OperationState.values()) System.out.println(c);
public static Protos.OperationState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
@Deprecated public static Protos.OperationState valueOf(int value)
forNumber(int)
instead.public static Protos.OperationState forNumber(int value)
public static <any> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Protos.OperationState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)