org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt
Enum RMAppAttemptState

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

public enum RMAppAttemptState
extends Enum<RMAppAttemptState>


Enum Constant Summary
ALLOCATED
           
ALLOCATED_SAVING
           
FAILED
           
FINISHED
           
FINISHING
           
KILLED
           
LAUNCHED
           
LAUNCHED_UNMANAGED_SAVING
           
NEW
           
RECOVERED
           
RUNNING
           
SCHEDULED
           
SUBMITTED
           
 
Method Summary
static RMAppAttemptState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RMAppAttemptState[] 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

NEW

public static final RMAppAttemptState NEW

SUBMITTED

public static final RMAppAttemptState SUBMITTED

SCHEDULED

public static final RMAppAttemptState SCHEDULED

ALLOCATED

public static final RMAppAttemptState ALLOCATED

LAUNCHED

public static final RMAppAttemptState LAUNCHED

FAILED

public static final RMAppAttemptState FAILED

RUNNING

public static final RMAppAttemptState RUNNING

FINISHING

public static final RMAppAttemptState FINISHING

FINISHED

public static final RMAppAttemptState FINISHED

KILLED

public static final RMAppAttemptState KILLED

ALLOCATED_SAVING

public static final RMAppAttemptState ALLOCATED_SAVING

LAUNCHED_UNMANAGED_SAVING

public static final RMAppAttemptState LAUNCHED_UNMANAGED_SAVING

RECOVERED

public static final RMAppAttemptState RECOVERED
Method Detail

values

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

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

valueOf

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