public static enum RMAppNodeUpdateEvent.RMAppNodeUpdateType extends Enum<RMAppNodeUpdateEvent.RMAppNodeUpdateType>
| Enum Constant and Description | 
|---|
| NODE_DECOMMISSIONING | 
| NODE_UNUSABLE | 
| NODE_USABLE | 
| Modifier and Type | Method and Description | 
|---|---|
| static org.apache.hadoop.yarn.api.records.NodeUpdateType | convertToNodeUpdateType(RMAppNodeUpdateEvent.RMAppNodeUpdateType rmAppNodeUpdateType) | 
| static RMAppNodeUpdateEvent.RMAppNodeUpdateType | valueOf(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(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 nullpublic static org.apache.hadoop.yarn.api.records.NodeUpdateType convertToNodeUpdateType(RMAppNodeUpdateEvent.RMAppNodeUpdateType rmAppNodeUpdateType)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.