public enum RMContainerState extends Enum<RMContainerState>
Enum Constant and Description |
---|
ACQUIRED |
ALLOCATED |
COMPLETED |
EXPIRED |
KILLED |
NEW |
RELEASED |
RESERVED |
RUNNING |
Modifier and Type | Method and Description |
---|---|
static RMContainerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RMContainerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RMContainerState NEW
public static final RMContainerState RESERVED
public static final RMContainerState ALLOCATED
public static final RMContainerState ACQUIRED
public static final RMContainerState RUNNING
public static final RMContainerState COMPLETED
public static final RMContainerState EXPIRED
public static final RMContainerState RELEASED
public static final RMContainerState KILLED
public static RMContainerState[] values()
for (RMContainerState c : RMContainerState.values()) System.out.println(c);
public static RMContainerState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017 Apache Software Foundation. All Rights Reserved.