public static enum UnorderedReceiverBatch.Metric extends Enum<UnorderedReceiverBatch.Metric> implements MetricDef
Enum Constant and Description |
---|
BYTES_RECEIVED |
NUM_SENDERS |
Modifier and Type | Method and Description |
---|---|
int |
metricId() |
static UnorderedReceiverBatch.Metric |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnorderedReceiverBatch.Metric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnorderedReceiverBatch.Metric BYTES_RECEIVED
public static final UnorderedReceiverBatch.Metric NUM_SENDERS
public static UnorderedReceiverBatch.Metric[] values()
for (UnorderedReceiverBatch.Metric c : UnorderedReceiverBatch.Metric.values()) System.out.println(c);
public static UnorderedReceiverBatch.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 nullCopyright © 1970 The Apache Software Foundation. All rights reserved.