public static enum Protos.TaskStatus.Reason extends java.lang.Enum<Protos.TaskStatus.Reason>
Detailed reason for the task status update. Refer to docs/task-state-reasons.md for additional explanation.Protobuf enum
mesos.TaskStatus.Reason
Enum Constant and Description |
---|
REASON_COMMAND_EXECUTOR_FAILED
TODO(jieyu): The default value when a caller doesn't check for
presence is 0 and so ideally the 0 reason is not a valid one.
|
REASON_CONTAINER_LAUNCH_FAILED
REASON_CONTAINER_LAUNCH_FAILED = 21; |
REASON_CONTAINER_LIMITATION
REASON_CONTAINER_LIMITATION = 19; |
REASON_CONTAINER_LIMITATION_DISK
REASON_CONTAINER_LIMITATION_DISK = 20; |
REASON_CONTAINER_LIMITATION_MEMORY
REASON_CONTAINER_LIMITATION_MEMORY = 8; |
REASON_CONTAINER_PREEMPTED
REASON_CONTAINER_PREEMPTED = 17; |
REASON_CONTAINER_UPDATE_FAILED
REASON_CONTAINER_UPDATE_FAILED = 22; |
REASON_EXECUTOR_REGISTRATION_TIMEOUT
REASON_EXECUTOR_REGISTRATION_TIMEOUT = 23; |
REASON_EXECUTOR_REREGISTRATION_TIMEOUT
REASON_EXECUTOR_REREGISTRATION_TIMEOUT = 24; |
REASON_EXECUTOR_TERMINATED
REASON_EXECUTOR_TERMINATED = 1; |
REASON_EXECUTOR_UNREGISTERED
No longer used.
|
REASON_FRAMEWORK_REMOVED
REASON_FRAMEWORK_REMOVED = 3; |
REASON_GC_ERROR
REASON_GC_ERROR = 4; |
REASON_INVALID_FRAMEWORKID
REASON_INVALID_FRAMEWORKID = 5; |
REASON_INVALID_OFFERS
REASON_INVALID_OFFERS = 6; |
REASON_IO_SWITCHBOARD_EXITED
REASON_IO_SWITCHBOARD_EXITED = 27; |
REASON_MASTER_DISCONNECTED
REASON_MASTER_DISCONNECTED = 7; |
REASON_MAX_COMPLETION_TIME_REACHED
REASON_MAX_COMPLETION_TIME_REACHED = 33; |
REASON_RECONCILIATION
REASON_RECONCILIATION = 9; |
REASON_RESOURCES_UNKNOWN
REASON_RESOURCES_UNKNOWN = 18; |
REASON_SLAVE_DISCONNECTED
REASON_SLAVE_DISCONNECTED = 10; |
REASON_SLAVE_DRAINING
REASON_SLAVE_DRAINING = 34; |
REASON_SLAVE_REMOVED
REASON_SLAVE_REMOVED = 11; |
REASON_SLAVE_REMOVED_BY_OPERATOR
REASON_SLAVE_REMOVED_BY_OPERATOR = 31; |
REASON_SLAVE_REREGISTERED
REASON_SLAVE_REREGISTERED = 32; |
REASON_SLAVE_RESTARTED
REASON_SLAVE_RESTARTED = 12; |
REASON_SLAVE_UNKNOWN
REASON_SLAVE_UNKNOWN = 13; |
REASON_TASK_CHECK_STATUS_UPDATED
REASON_TASK_CHECK_STATUS_UPDATED = 28; |
REASON_TASK_GROUP_INVALID
REASON_TASK_GROUP_INVALID = 25; |
REASON_TASK_GROUP_UNAUTHORIZED
REASON_TASK_GROUP_UNAUTHORIZED = 26; |
REASON_TASK_HEALTH_CHECK_STATUS_UPDATED
REASON_TASK_HEALTH_CHECK_STATUS_UPDATED = 29; |
REASON_TASK_INVALID
REASON_TASK_INVALID = 14; |
REASON_TASK_KILLED_DURING_LAUNCH
REASON_TASK_KILLED_DURING_LAUNCH = 30; |
REASON_TASK_UNAUTHORIZED
REASON_TASK_UNAUTHORIZED = 15; |
REASON_TASK_UNKNOWN
REASON_TASK_UNKNOWN = 16; |
Modifier and Type | Field and Description |
---|---|
static int |
REASON_COMMAND_EXECUTOR_FAILED_VALUE
TODO(jieyu): The default value when a caller doesn't check for
presence is 0 and so ideally the 0 reason is not a valid one.
|
static int |
REASON_CONTAINER_LAUNCH_FAILED_VALUE
REASON_CONTAINER_LAUNCH_FAILED = 21; |
static int |
REASON_CONTAINER_LIMITATION_DISK_VALUE
REASON_CONTAINER_LIMITATION_DISK = 20; |
static int |
REASON_CONTAINER_LIMITATION_MEMORY_VALUE
REASON_CONTAINER_LIMITATION_MEMORY = 8; |
static int |
REASON_CONTAINER_LIMITATION_VALUE
REASON_CONTAINER_LIMITATION = 19; |
static int |
REASON_CONTAINER_PREEMPTED_VALUE
REASON_CONTAINER_PREEMPTED = 17; |
static int |
REASON_CONTAINER_UPDATE_FAILED_VALUE
REASON_CONTAINER_UPDATE_FAILED = 22; |
static int |
REASON_EXECUTOR_REGISTRATION_TIMEOUT_VALUE
REASON_EXECUTOR_REGISTRATION_TIMEOUT = 23; |
static int |
REASON_EXECUTOR_REREGISTRATION_TIMEOUT_VALUE
REASON_EXECUTOR_REREGISTRATION_TIMEOUT = 24; |
static int |
REASON_EXECUTOR_TERMINATED_VALUE
REASON_EXECUTOR_TERMINATED = 1; |
static int |
REASON_EXECUTOR_UNREGISTERED_VALUE
No longer used.
|
static int |
REASON_FRAMEWORK_REMOVED_VALUE
REASON_FRAMEWORK_REMOVED = 3; |
static int |
REASON_GC_ERROR_VALUE
REASON_GC_ERROR = 4; |
static int |
REASON_INVALID_FRAMEWORKID_VALUE
REASON_INVALID_FRAMEWORKID = 5; |
static int |
REASON_INVALID_OFFERS_VALUE
REASON_INVALID_OFFERS = 6; |
static int |
REASON_IO_SWITCHBOARD_EXITED_VALUE
REASON_IO_SWITCHBOARD_EXITED = 27; |
static int |
REASON_MASTER_DISCONNECTED_VALUE
REASON_MASTER_DISCONNECTED = 7; |
static int |
REASON_MAX_COMPLETION_TIME_REACHED_VALUE
REASON_MAX_COMPLETION_TIME_REACHED = 33; |
static int |
REASON_RECONCILIATION_VALUE
REASON_RECONCILIATION = 9; |
static int |
REASON_RESOURCES_UNKNOWN_VALUE
REASON_RESOURCES_UNKNOWN = 18; |
static int |
REASON_SLAVE_DISCONNECTED_VALUE
REASON_SLAVE_DISCONNECTED = 10; |
static int |
REASON_SLAVE_DRAINING_VALUE
REASON_SLAVE_DRAINING = 34; |
static int |
REASON_SLAVE_REMOVED_BY_OPERATOR_VALUE
REASON_SLAVE_REMOVED_BY_OPERATOR = 31; |
static int |
REASON_SLAVE_REMOVED_VALUE
REASON_SLAVE_REMOVED = 11; |
static int |
REASON_SLAVE_REREGISTERED_VALUE
REASON_SLAVE_REREGISTERED = 32; |
static int |
REASON_SLAVE_RESTARTED_VALUE
REASON_SLAVE_RESTARTED = 12; |
static int |
REASON_SLAVE_UNKNOWN_VALUE
REASON_SLAVE_UNKNOWN = 13; |
static int |
REASON_TASK_CHECK_STATUS_UPDATED_VALUE
REASON_TASK_CHECK_STATUS_UPDATED = 28; |
static int |
REASON_TASK_GROUP_INVALID_VALUE
REASON_TASK_GROUP_INVALID = 25; |
static int |
REASON_TASK_GROUP_UNAUTHORIZED_VALUE
REASON_TASK_GROUP_UNAUTHORIZED = 26; |
static int |
REASON_TASK_HEALTH_CHECK_STATUS_UPDATED_VALUE
REASON_TASK_HEALTH_CHECK_STATUS_UPDATED = 29; |
static int |
REASON_TASK_INVALID_VALUE
REASON_TASK_INVALID = 14; |
static int |
REASON_TASK_KILLED_DURING_LAUNCH_VALUE
REASON_TASK_KILLED_DURING_LAUNCH = 30; |
static int |
REASON_TASK_UNAUTHORIZED_VALUE
REASON_TASK_UNAUTHORIZED = 15; |
static int |
REASON_TASK_UNKNOWN_VALUE
REASON_TASK_UNKNOWN = 16; |
Modifier and Type | Method and Description |
---|---|
static Protos.TaskStatus.Reason |
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.TaskStatus.Reason |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protos.TaskStatus.Reason |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protos.TaskStatus.Reason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Protos.TaskStatus.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.TaskStatus.Reason REASON_COMMAND_EXECUTOR_FAILED
TODO(jieyu): The default value when a caller doesn't check for presence is 0 and so ideally the 0 reason is not a valid one. Since this is not used anywhere, consider removing this reason.
REASON_COMMAND_EXECUTOR_FAILED = 0;
public static final Protos.TaskStatus.Reason REASON_CONTAINER_LAUNCH_FAILED
REASON_CONTAINER_LAUNCH_FAILED = 21;
public static final Protos.TaskStatus.Reason REASON_CONTAINER_LIMITATION
REASON_CONTAINER_LIMITATION = 19;
public static final Protos.TaskStatus.Reason REASON_CONTAINER_LIMITATION_DISK
REASON_CONTAINER_LIMITATION_DISK = 20;
public static final Protos.TaskStatus.Reason REASON_CONTAINER_LIMITATION_MEMORY
REASON_CONTAINER_LIMITATION_MEMORY = 8;
public static final Protos.TaskStatus.Reason REASON_CONTAINER_PREEMPTED
REASON_CONTAINER_PREEMPTED = 17;
public static final Protos.TaskStatus.Reason REASON_CONTAINER_UPDATE_FAILED
REASON_CONTAINER_UPDATE_FAILED = 22;
public static final Protos.TaskStatus.Reason REASON_MAX_COMPLETION_TIME_REACHED
REASON_MAX_COMPLETION_TIME_REACHED = 33;
public static final Protos.TaskStatus.Reason REASON_EXECUTOR_REGISTRATION_TIMEOUT
REASON_EXECUTOR_REGISTRATION_TIMEOUT = 23;
public static final Protos.TaskStatus.Reason REASON_EXECUTOR_REREGISTRATION_TIMEOUT
REASON_EXECUTOR_REREGISTRATION_TIMEOUT = 24;
public static final Protos.TaskStatus.Reason REASON_EXECUTOR_TERMINATED
REASON_EXECUTOR_TERMINATED = 1;
public static final Protos.TaskStatus.Reason REASON_EXECUTOR_UNREGISTERED
No longer used.
REASON_EXECUTOR_UNREGISTERED = 2;
public static final Protos.TaskStatus.Reason REASON_FRAMEWORK_REMOVED
REASON_FRAMEWORK_REMOVED = 3;
public static final Protos.TaskStatus.Reason REASON_GC_ERROR
REASON_GC_ERROR = 4;
public static final Protos.TaskStatus.Reason REASON_INVALID_FRAMEWORKID
REASON_INVALID_FRAMEWORKID = 5;
public static final Protos.TaskStatus.Reason REASON_INVALID_OFFERS
REASON_INVALID_OFFERS = 6;
public static final Protos.TaskStatus.Reason REASON_IO_SWITCHBOARD_EXITED
REASON_IO_SWITCHBOARD_EXITED = 27;
public static final Protos.TaskStatus.Reason REASON_MASTER_DISCONNECTED
REASON_MASTER_DISCONNECTED = 7;
public static final Protos.TaskStatus.Reason REASON_RECONCILIATION
REASON_RECONCILIATION = 9;
public static final Protos.TaskStatus.Reason REASON_RESOURCES_UNKNOWN
REASON_RESOURCES_UNKNOWN = 18;
public static final Protos.TaskStatus.Reason REASON_SLAVE_DISCONNECTED
REASON_SLAVE_DISCONNECTED = 10;
public static final Protos.TaskStatus.Reason REASON_SLAVE_DRAINING
REASON_SLAVE_DRAINING = 34;
public static final Protos.TaskStatus.Reason REASON_SLAVE_REMOVED
REASON_SLAVE_REMOVED = 11;
public static final Protos.TaskStatus.Reason REASON_SLAVE_REMOVED_BY_OPERATOR
REASON_SLAVE_REMOVED_BY_OPERATOR = 31;
public static final Protos.TaskStatus.Reason REASON_SLAVE_REREGISTERED
REASON_SLAVE_REREGISTERED = 32;
public static final Protos.TaskStatus.Reason REASON_SLAVE_RESTARTED
REASON_SLAVE_RESTARTED = 12;
public static final Protos.TaskStatus.Reason REASON_SLAVE_UNKNOWN
REASON_SLAVE_UNKNOWN = 13;
public static final Protos.TaskStatus.Reason REASON_TASK_KILLED_DURING_LAUNCH
REASON_TASK_KILLED_DURING_LAUNCH = 30;
public static final Protos.TaskStatus.Reason REASON_TASK_CHECK_STATUS_UPDATED
REASON_TASK_CHECK_STATUS_UPDATED = 28;
public static final Protos.TaskStatus.Reason REASON_TASK_HEALTH_CHECK_STATUS_UPDATED
REASON_TASK_HEALTH_CHECK_STATUS_UPDATED = 29;
public static final Protos.TaskStatus.Reason REASON_TASK_GROUP_INVALID
REASON_TASK_GROUP_INVALID = 25;
public static final Protos.TaskStatus.Reason REASON_TASK_GROUP_UNAUTHORIZED
REASON_TASK_GROUP_UNAUTHORIZED = 26;
public static final Protos.TaskStatus.Reason REASON_TASK_INVALID
REASON_TASK_INVALID = 14;
public static final Protos.TaskStatus.Reason REASON_TASK_UNAUTHORIZED
REASON_TASK_UNAUTHORIZED = 15;
public static final Protos.TaskStatus.Reason REASON_TASK_UNKNOWN
REASON_TASK_UNKNOWN = 16;
public static final int REASON_COMMAND_EXECUTOR_FAILED_VALUE
TODO(jieyu): The default value when a caller doesn't check for presence is 0 and so ideally the 0 reason is not a valid one. Since this is not used anywhere, consider removing this reason.
REASON_COMMAND_EXECUTOR_FAILED = 0;
public static final int REASON_CONTAINER_LAUNCH_FAILED_VALUE
REASON_CONTAINER_LAUNCH_FAILED = 21;
public static final int REASON_CONTAINER_LIMITATION_VALUE
REASON_CONTAINER_LIMITATION = 19;
public static final int REASON_CONTAINER_LIMITATION_DISK_VALUE
REASON_CONTAINER_LIMITATION_DISK = 20;
public static final int REASON_CONTAINER_LIMITATION_MEMORY_VALUE
REASON_CONTAINER_LIMITATION_MEMORY = 8;
public static final int REASON_CONTAINER_PREEMPTED_VALUE
REASON_CONTAINER_PREEMPTED = 17;
public static final int REASON_CONTAINER_UPDATE_FAILED_VALUE
REASON_CONTAINER_UPDATE_FAILED = 22;
public static final int REASON_MAX_COMPLETION_TIME_REACHED_VALUE
REASON_MAX_COMPLETION_TIME_REACHED = 33;
public static final int REASON_EXECUTOR_REGISTRATION_TIMEOUT_VALUE
REASON_EXECUTOR_REGISTRATION_TIMEOUT = 23;
public static final int REASON_EXECUTOR_REREGISTRATION_TIMEOUT_VALUE
REASON_EXECUTOR_REREGISTRATION_TIMEOUT = 24;
public static final int REASON_EXECUTOR_TERMINATED_VALUE
REASON_EXECUTOR_TERMINATED = 1;
public static final int REASON_EXECUTOR_UNREGISTERED_VALUE
No longer used.
REASON_EXECUTOR_UNREGISTERED = 2;
public static final int REASON_FRAMEWORK_REMOVED_VALUE
REASON_FRAMEWORK_REMOVED = 3;
public static final int REASON_GC_ERROR_VALUE
REASON_GC_ERROR = 4;
public static final int REASON_INVALID_FRAMEWORKID_VALUE
REASON_INVALID_FRAMEWORKID = 5;
public static final int REASON_INVALID_OFFERS_VALUE
REASON_INVALID_OFFERS = 6;
public static final int REASON_IO_SWITCHBOARD_EXITED_VALUE
REASON_IO_SWITCHBOARD_EXITED = 27;
public static final int REASON_MASTER_DISCONNECTED_VALUE
REASON_MASTER_DISCONNECTED = 7;
public static final int REASON_RECONCILIATION_VALUE
REASON_RECONCILIATION = 9;
public static final int REASON_RESOURCES_UNKNOWN_VALUE
REASON_RESOURCES_UNKNOWN = 18;
public static final int REASON_SLAVE_DISCONNECTED_VALUE
REASON_SLAVE_DISCONNECTED = 10;
public static final int REASON_SLAVE_DRAINING_VALUE
REASON_SLAVE_DRAINING = 34;
public static final int REASON_SLAVE_REMOVED_VALUE
REASON_SLAVE_REMOVED = 11;
public static final int REASON_SLAVE_REMOVED_BY_OPERATOR_VALUE
REASON_SLAVE_REMOVED_BY_OPERATOR = 31;
public static final int REASON_SLAVE_REREGISTERED_VALUE
REASON_SLAVE_REREGISTERED = 32;
public static final int REASON_SLAVE_RESTARTED_VALUE
REASON_SLAVE_RESTARTED = 12;
public static final int REASON_SLAVE_UNKNOWN_VALUE
REASON_SLAVE_UNKNOWN = 13;
public static final int REASON_TASK_KILLED_DURING_LAUNCH_VALUE
REASON_TASK_KILLED_DURING_LAUNCH = 30;
public static final int REASON_TASK_CHECK_STATUS_UPDATED_VALUE
REASON_TASK_CHECK_STATUS_UPDATED = 28;
public static final int REASON_TASK_HEALTH_CHECK_STATUS_UPDATED_VALUE
REASON_TASK_HEALTH_CHECK_STATUS_UPDATED = 29;
public static final int REASON_TASK_GROUP_INVALID_VALUE
REASON_TASK_GROUP_INVALID = 25;
public static final int REASON_TASK_GROUP_UNAUTHORIZED_VALUE
REASON_TASK_GROUP_UNAUTHORIZED = 26;
public static final int REASON_TASK_INVALID_VALUE
REASON_TASK_INVALID = 14;
public static final int REASON_TASK_UNAUTHORIZED_VALUE
REASON_TASK_UNAUTHORIZED = 15;
public static final int REASON_TASK_UNKNOWN_VALUE
REASON_TASK_UNKNOWN = 16;
public static Protos.TaskStatus.Reason[] values()
for (Protos.TaskStatus.Reason c : Protos.TaskStatus.Reason.values()) System.out.println(c);
public static Protos.TaskStatus.Reason 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.TaskStatus.Reason valueOf(int value)
forNumber(int)
instead.public static Protos.TaskStatus.Reason 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.TaskStatus.Reason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)