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

java.lang.Object
  extended by java.lang.Enum<VertexEventType>
      extended by org.apache.tez.dag.app.dag.event.VertexEventType
All Implemented Interfaces:
Serializable, Comparable<VertexEventType>

public enum VertexEventType
extends Enum<VertexEventType>

Event types handled by Task.


Enum Constant Summary
V_ATTEMPT_KILLED
           
V_COMPLETED
           
V_COUNTER_UPDATE
           
V_INIT
           
V_INTERNAL_ERROR
           
V_ONE_TO_ONE_SOURCE_SPLIT
           
V_RECOVER
           
V_ROOT_INPUT_FAILED
           
V_ROOT_INPUT_INITIALIZED
           
V_ROUTE_EVENT
           
V_SOURCE_TASK_ATTEMPT_COMPLETED
           
V_SOURCE_VERTEX_RECOVERED
           
V_SOURCE_VERTEX_STARTED
           
V_START
           
V_TASK_ATTEMPT_COMPLETED
           
V_TASK_COMPLETED
           
V_TASK_FAILED
           
V_TASK_LAUNCHED
           
V_TASK_OUTPUT_CONSUMABLE
           
V_TASK_RESCHEDULED
           
V_TASK_SUCCEEDED
           
V_TERMINATE
           
 
Method Summary
static VertexEventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VertexEventType[] 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

V_TERMINATE

public static final VertexEventType V_TERMINATE

V_INIT

public static final VertexEventType V_INIT

V_COMPLETED

public static final VertexEventType V_COMPLETED

V_START

public static final VertexEventType V_START

V_SOURCE_TASK_ATTEMPT_COMPLETED

public static final VertexEventType V_SOURCE_TASK_ATTEMPT_COMPLETED

V_SOURCE_VERTEX_STARTED

public static final VertexEventType V_SOURCE_VERTEX_STARTED

V_TASK_COMPLETED

public static final VertexEventType V_TASK_COMPLETED

V_TASK_RESCHEDULED

public static final VertexEventType V_TASK_RESCHEDULED

V_TASK_ATTEMPT_COMPLETED

public static final VertexEventType V_TASK_ATTEMPT_COMPLETED

V_TASK_LAUNCHED

public static final VertexEventType V_TASK_LAUNCHED

V_TASK_OUTPUT_CONSUMABLE

public static final VertexEventType V_TASK_OUTPUT_CONSUMABLE

V_TASK_FAILED

public static final VertexEventType V_TASK_FAILED

V_TASK_SUCCEEDED

public static final VertexEventType V_TASK_SUCCEEDED

V_ATTEMPT_KILLED

public static final VertexEventType V_ATTEMPT_KILLED

V_INTERNAL_ERROR

public static final VertexEventType V_INTERNAL_ERROR

V_COUNTER_UPDATE

public static final VertexEventType V_COUNTER_UPDATE

V_ROUTE_EVENT

public static final VertexEventType V_ROUTE_EVENT

V_ONE_TO_ONE_SOURCE_SPLIT

public static final VertexEventType V_ONE_TO_ONE_SOURCE_SPLIT

V_ROOT_INPUT_INITIALIZED

public static final VertexEventType V_ROOT_INPUT_INITIALIZED

V_ROOT_INPUT_FAILED

public static final VertexEventType V_ROOT_INPUT_FAILED

V_RECOVER

public static final VertexEventType V_RECOVER

V_SOURCE_VERTEX_RECOVERED

public static final VertexEventType V_SOURCE_VERTEX_RECOVERED
Method Detail

values

public static VertexEventType[] 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 (VertexEventType c : VertexEventType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static VertexEventType 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.