org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.event
Enum LocalizationEventType

java.lang.Object
  extended by java.lang.Enum<LocalizationEventType>
      extended by org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.event.LocalizationEventType
All Implemented Interfaces:
Serializable, Comparable<LocalizationEventType>

public enum LocalizationEventType
extends Enum<LocalizationEventType>


Enum Constant Summary
CACHE_CLEANUP
           
CLEANUP_CONTAINER_RESOURCES
           
DESTROY_APPLICATION_RESOURCES
           
INIT_APPLICATION_RESOURCES
           
INIT_CONTAINER_RESOURCES
           
 
Method Summary
static LocalizationEventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LocalizationEventType[] 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

INIT_APPLICATION_RESOURCES

public static final LocalizationEventType INIT_APPLICATION_RESOURCES

INIT_CONTAINER_RESOURCES

public static final LocalizationEventType INIT_CONTAINER_RESOURCES

CACHE_CLEANUP

public static final LocalizationEventType CACHE_CLEANUP

CLEANUP_CONTAINER_RESOURCES

public static final LocalizationEventType CLEANUP_CONTAINER_RESOURCES

DESTROY_APPLICATION_RESOURCES

public static final LocalizationEventType DESTROY_APPLICATION_RESOURCES
Method Detail

values

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

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

valueOf

public static LocalizationEventType 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 © 2013 Apache Software Foundation. All Rights Reserved.