public static enum AMRMClientRelayerMetrics.RequestType extends Enum<AMRMClientRelayerMetrics.RequestType>
| Enum Constant and Description |
|---|
Demote |
Guaranteed |
Opportunistic |
Promote |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static AMRMClientRelayerMetrics.RequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AMRMClientRelayerMetrics.RequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AMRMClientRelayerMetrics.RequestType Guaranteed
public static final AMRMClientRelayerMetrics.RequestType Opportunistic
public static final AMRMClientRelayerMetrics.RequestType Promote
public static final AMRMClientRelayerMetrics.RequestType Demote
public static AMRMClientRelayerMetrics.RequestType[] values()
for (AMRMClientRelayerMetrics.RequestType c : AMRMClientRelayerMetrics.RequestType.values()) System.out.println(c);
public static AMRMClientRelayerMetrics.RequestType 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 String toString()
toString in class Enum<AMRMClientRelayerMetrics.RequestType>Copyright © 2008–2024 Apache Software Foundation. All rights reserved.