java.io.Serializable, java.lang.Comparable<RMAppNodeUpdateEvent.RMAppNodeUpdateType>public static enum RMAppNodeUpdateEvent.RMAppNodeUpdateType extends java.lang.Enum<RMAppNodeUpdateEvent.RMAppNodeUpdateType>
| Enum Constant | Description |
|---|---|
NODE_DECOMMISSIONING |
|
NODE_UNUSABLE |
|
NODE_USABLE |
| Modifier and Type | Method | Description |
|---|---|---|
static org.apache.hadoop.yarn.api.records.NodeUpdateType |
convertToNodeUpdateType(RMAppNodeUpdateEvent.RMAppNodeUpdateType rmAppNodeUpdateType) |
|
static RMAppNodeUpdateEvent.RMAppNodeUpdateType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static RMAppNodeUpdateEvent.RMAppNodeUpdateType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RMAppNodeUpdateEvent.RMAppNodeUpdateType NODE_USABLE
public static final RMAppNodeUpdateEvent.RMAppNodeUpdateType NODE_UNUSABLE
public static final RMAppNodeUpdateEvent.RMAppNodeUpdateType NODE_DECOMMISSIONING
public static RMAppNodeUpdateEvent.RMAppNodeUpdateType[] values()
for (RMAppNodeUpdateEvent.RMAppNodeUpdateType c : RMAppNodeUpdateEvent.RMAppNodeUpdateType.values()) System.out.println(c);
public static RMAppNodeUpdateEvent.RMAppNodeUpdateType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static org.apache.hadoop.yarn.api.records.NodeUpdateType convertToNodeUpdateType(RMAppNodeUpdateEvent.RMAppNodeUpdateType rmAppNodeUpdateType)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.