org.apache.hadoop.yarn.server.resourcemanager.rmapp
Enum RMAppEventType

java.lang.Object
  extended by java.lang.Enum<RMAppEventType>
      extended by org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppEventType
All Implemented Interfaces:
Serializable, Comparable<RMAppEventType>

public enum RMAppEventType
extends Enum<RMAppEventType>


Enum Constant Summary
APP_ACCEPTED
           
APP_REJECTED
           
APP_REMOVED
           
APP_SAVED
           
ATTEMPT_FAILED
           
ATTEMPT_FINISHED
           
ATTEMPT_KILLED
           
ATTEMPT_REGISTERED
           
ATTEMPT_UNREGISTERED
           
KILL
           
NODE_UPDATE
           
RECOVER
           
START
           
 
Method Summary
static RMAppEventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RMAppEventType[] 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

START

public static final RMAppEventType START

RECOVER

public static final RMAppEventType RECOVER

KILL

public static final RMAppEventType KILL

APP_REJECTED

public static final RMAppEventType APP_REJECTED

APP_ACCEPTED

public static final RMAppEventType APP_ACCEPTED

ATTEMPT_REGISTERED

public static final RMAppEventType ATTEMPT_REGISTERED

ATTEMPT_UNREGISTERED

public static final RMAppEventType ATTEMPT_UNREGISTERED

ATTEMPT_FINISHED

public static final RMAppEventType ATTEMPT_FINISHED

ATTEMPT_FAILED

public static final RMAppEventType ATTEMPT_FAILED

ATTEMPT_KILLED

public static final RMAppEventType ATTEMPT_KILLED

NODE_UPDATE

public static final RMAppEventType NODE_UPDATE

APP_SAVED

public static final RMAppEventType APP_SAVED

APP_REMOVED

public static final RMAppEventType APP_REMOVED
Method Detail

values

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

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

valueOf

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