org.apache.tez.dag.app.dag.event
Enum DAGEventType

java.lang.Object
  extended by java.lang.Enum<DAGEventType>
      extended by 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.


Enum Constant Summary
DAG_COMPLETED
           
DAG_COUNTER_UPDATE
           
DAG_DIAGNOSTIC_UPDATE
           
DAG_INIT
           
DAG_KILL
           
DAG_RECOVER
           
DAG_SCHEDULER_UPDATE
           
DAG_START
           
DAG_VERTEX_COMPLETED
           
DAG_VERTEX_RERUNNING
           
INTERNAL_ERROR
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.