org.apache.hadoop.mapreduce.v2.app.job.event
Enum JobEventType
java.lang.Object
java.lang.Enum<JobEventType>
org.apache.hadoop.mapreduce.v2.app.job.event.JobEventType
- All Implemented Interfaces:
- Serializable, Comparable<JobEventType>
public enum JobEventType
- extends Enum<JobEventType>
Event types handled by Job.
|
Method Summary |
static JobEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JobEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
JOB_KILL
public static final JobEventType JOB_KILL
JOB_INIT
public static final JobEventType JOB_INIT
JOB_START
public static final JobEventType JOB_START
JOB_TASK_COMPLETED
public static final JobEventType JOB_TASK_COMPLETED
JOB_MAP_TASK_RESCHEDULED
public static final JobEventType JOB_MAP_TASK_RESCHEDULED
JOB_TASK_ATTEMPT_COMPLETED
public static final JobEventType JOB_TASK_ATTEMPT_COMPLETED
JOB_SETUP_COMPLETED
public static final JobEventType JOB_SETUP_COMPLETED
JOB_SETUP_FAILED
public static final JobEventType JOB_SETUP_FAILED
JOB_COMMIT_COMPLETED
public static final JobEventType JOB_COMMIT_COMPLETED
JOB_COMMIT_FAILED
public static final JobEventType JOB_COMMIT_FAILED
JOB_ABORT_COMPLETED
public static final JobEventType JOB_ABORT_COMPLETED
JOB_COMPLETED
public static final JobEventType JOB_COMPLETED
JOB_DIAGNOSTIC_UPDATE
public static final JobEventType JOB_DIAGNOSTIC_UPDATE
INTERNAL_ERROR
public static final JobEventType INTERNAL_ERROR
JOB_COUNTER_UPDATE
public static final JobEventType JOB_COUNTER_UPDATE
JOB_TASK_ATTEMPT_FETCH_FAILURE
public static final JobEventType JOB_TASK_ATTEMPT_FETCH_FAILURE
values
public static JobEventType[] 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 (JobEventType c : JobEventType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static JobEventType 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 © 2013 Apache Software Foundation. All Rights Reserved.