public static enum FairSchedulerMetrics.Metric extends Enum<FairSchedulerMetrics.Metric>
| Enum Constant and Description |
|---|
DEMAND |
FAIRSHARE |
MAXSHARE |
MINSHARE |
USAGE |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static FairSchedulerMetrics.Metric |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FairSchedulerMetrics.Metric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FairSchedulerMetrics.Metric DEMAND
public static final FairSchedulerMetrics.Metric USAGE
public static final FairSchedulerMetrics.Metric MINSHARE
public static final FairSchedulerMetrics.Metric MAXSHARE
public static final FairSchedulerMetrics.Metric FAIRSHARE
public static FairSchedulerMetrics.Metric[] values()
for (FairSchedulerMetrics.Metric c : FairSchedulerMetrics.Metric.values()) System.out.println(c);
public static FairSchedulerMetrics.Metric 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 getValue()
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.