@InterfaceAudience.Public @InterfaceStability.Unstable public enum AMCommand extends Enum<AMCommand>
AllocateResponse| Enum Constant and Description |
|---|
AM_RESYNC
Sent by Resource Manager when it is out of sync with the AM and wants the
AM get back in sync.
|
AM_SHUTDOWN
Sent by Resource Manager when it wants the AM to shutdown.
|
| Modifier and Type | Method and Description |
|---|---|
static AMCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AMCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AMCommand AM_RESYNC
public static final AMCommand AM_SHUTDOWN
public static AMCommand[] values()
for (AMCommand c : AMCommand.values()) System.out.println(c);
public static AMCommand 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 © 2014 Apache Software Foundation. All Rights Reserved.