org.apache.tez.dag.app.rm.container
Enum AMContainerEventType
java.lang.Object
java.lang.Enum<AMContainerEventType>
org.apache.tez.dag.app.rm.container.AMContainerEventType
- All Implemented Interfaces:
- Serializable, Comparable<AMContainerEventType>
public enum AMContainerEventType
- extends Enum<AMContainerEventType>
C_LAUNCH_REQUEST
public static final AMContainerEventType C_LAUNCH_REQUEST
C_ASSIGN_TA
public static final AMContainerEventType C_ASSIGN_TA
C_LAUNCHED
public static final AMContainerEventType C_LAUNCHED
C_LAUNCH_FAILED
public static final AMContainerEventType C_LAUNCH_FAILED
C_PULL_TA
public static final AMContainerEventType C_PULL_TA
C_TA_SUCCEEDED
public static final AMContainerEventType C_TA_SUCCEEDED
C_COMPLETED
public static final AMContainerEventType C_COMPLETED
C_NODE_FAILED
public static final AMContainerEventType C_NODE_FAILED
C_STOP_REQUEST
public static final AMContainerEventType C_STOP_REQUEST
C_NM_STOP_FAILED
public static final AMContainerEventType C_NM_STOP_FAILED
C_NM_STOP_SENT
public static final AMContainerEventType C_NM_STOP_SENT
C_TIMED_OUT
public static final AMContainerEventType C_TIMED_OUT
values
public static AMContainerEventType[] 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 (AMContainerEventType c : AMContainerEventType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AMContainerEventType 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.