org.apache.tez.dag.app.dag.event
Enum DAGEventType
java.lang.Object
java.lang.Enum<DAGEventType>
org.apache.tez.dag.app.dag.event.DAGEventType
- All Implemented Interfaces:
- Serializable, Comparable<DAGEventType>
public enum DAGEventType
- extends Enum<DAGEventType>
Event types handled by Job.
|
Method Summary |
static DAGEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DAGEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
DAG_KILL
public static final DAGEventType DAG_KILL
DAG_INIT
public static final DAGEventType DAG_INIT
DAG_START
public static final DAGEventType DAG_START
DAG_VERTEX_COMPLETED
public static final DAGEventType DAG_VERTEX_COMPLETED
DAG_VERTEX_RERUNNING
public static final DAGEventType DAG_VERTEX_RERUNNING
DAG_SCHEDULER_UPDATE
public static final DAGEventType DAG_SCHEDULER_UPDATE
DAG_COMPLETED
public static final DAGEventType DAG_COMPLETED
DAG_DIAGNOSTIC_UPDATE
public static final DAGEventType DAG_DIAGNOSTIC_UPDATE
INTERNAL_ERROR
public static final DAGEventType INTERNAL_ERROR
DAG_COUNTER_UPDATE
public static final DAGEventType DAG_COUNTER_UPDATE
DAG_RECOVER
public static final DAGEventType DAG_RECOVER
values
public static DAGEventType[] 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 (DAGEventType c : DAGEventType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DAGEventType 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.