public static enum BasicMetricsCollector.MetricsItem extends Enum<BasicMetricsCollector.MetricsItem>
Enum Constant and Description |
---|
ALL |
SPOUT_LATENCY |
SPOUT_THROUGHPUT |
TOPOLOGY_STATS |
XSFER_RATE |
Modifier and Type | Method and Description |
---|---|
static BasicMetricsCollector.MetricsItem |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BasicMetricsCollector.MetricsItem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BasicMetricsCollector.MetricsItem TOPOLOGY_STATS
public static final BasicMetricsCollector.MetricsItem XSFER_RATE
public static final BasicMetricsCollector.MetricsItem SPOUT_THROUGHPUT
public static final BasicMetricsCollector.MetricsItem SPOUT_LATENCY
public static final BasicMetricsCollector.MetricsItem ALL
public static BasicMetricsCollector.MetricsItem[] values()
for (BasicMetricsCollector.MetricsItem c : BasicMetricsCollector.MetricsItem.values()) System.out.println(c);
public static BasicMetricsCollector.MetricsItem 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 © 2022 The Apache Software Foundation. All Rights Reserved.