org.apache.tez.dag.app.dag.event
Enum TaskAttemptEventType
java.lang.Object
java.lang.Enum<TaskAttemptEventType>
org.apache.tez.dag.app.dag.event.TaskAttemptEventType
- All Implemented Interfaces:
- Serializable, Comparable<TaskAttemptEventType>
public enum TaskAttemptEventType
- extends Enum<TaskAttemptEventType>
Event types handled by TaskAttempt.
TA_SCHEDULE
public static final TaskAttemptEventType TA_SCHEDULE
TA_STARTED_REMOTELY
public static final TaskAttemptEventType TA_STARTED_REMOTELY
TA_STATUS_UPDATE
public static final TaskAttemptEventType TA_STATUS_UPDATE
TA_DIAGNOSTICS_UPDATE
public static final TaskAttemptEventType TA_DIAGNOSTICS_UPDATE
TA_OUTPUT_CONSUMABLE
public static final TaskAttemptEventType TA_OUTPUT_CONSUMABLE
TA_COMMIT_PENDING
public static final TaskAttemptEventType TA_COMMIT_PENDING
TA_DONE
public static final TaskAttemptEventType TA_DONE
TA_FAILED
public static final TaskAttemptEventType TA_FAILED
TA_TIMED_OUT
public static final TaskAttemptEventType TA_TIMED_OUT
TA_FAIL_REQUEST
public static final TaskAttemptEventType TA_FAIL_REQUEST
TA_KILL_REQUEST
public static final TaskAttemptEventType TA_KILL_REQUEST
TA_CONTAINER_TERMINATING
public static final TaskAttemptEventType TA_CONTAINER_TERMINATING
TA_CONTAINER_TERMINATED
public static final TaskAttemptEventType TA_CONTAINER_TERMINATED
TA_CONTAINER_PREEMPTED
public static final TaskAttemptEventType TA_CONTAINER_PREEMPTED
TA_NODE_FAILED
public static final TaskAttemptEventType TA_NODE_FAILED
TA_OUTPUT_FAILED
public static final TaskAttemptEventType TA_OUTPUT_FAILED
TA_RECOVER
public static final TaskAttemptEventType TA_RECOVER
values
public static TaskAttemptEventType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (TaskAttemptEventType c : TaskAttemptEventType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TaskAttemptEventType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2014 Apache Software Foundation. All rights reserved.