org.apache.hadoop.yarn.server.nodemanager.containermanager.application
Enum ApplicationEventType
java.lang.Object
java.lang.Enum<ApplicationEventType>
org.apache.hadoop.yarn.server.nodemanager.containermanager.application.ApplicationEventType
- All Implemented Interfaces:
- Serializable, Comparable<ApplicationEventType>
public enum ApplicationEventType
- extends Enum<ApplicationEventType>
INIT_APPLICATION
public static final ApplicationEventType INIT_APPLICATION
INIT_CONTAINER
public static final ApplicationEventType INIT_CONTAINER
FINISH_APPLICATION
public static final ApplicationEventType FINISH_APPLICATION
APPLICATION_INITED
public static final ApplicationEventType APPLICATION_INITED
APPLICATION_RESOURCES_CLEANEDUP
public static final ApplicationEventType APPLICATION_RESOURCES_CLEANEDUP
APPLICATION_CONTAINER_FINISHED
public static final ApplicationEventType APPLICATION_CONTAINER_FINISHED
APPLICATION_LOG_HANDLING_FINISHED
public static final ApplicationEventType APPLICATION_LOG_HANDLING_FINISHED
values
public static ApplicationEventType[] 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 (ApplicationEventType c : ApplicationEventType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ApplicationEventType 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 © 2012 Apache Software Foundation. All Rights Reserved.