public static enum AccumulatorRegistry.Metric extends Enum<AccumulatorRegistry.Metric>
Enum Constant and Description |
---|
NUM_BYTES_IN |
NUM_BYTES_OUT |
NUM_RECORDS_IN |
NUM_RECORDS_OUT |
Modifier and Type | Method and Description |
---|---|
static AccumulatorRegistry.Metric |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccumulatorRegistry.Metric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccumulatorRegistry.Metric NUM_RECORDS_IN
public static final AccumulatorRegistry.Metric NUM_RECORDS_OUT
public static final AccumulatorRegistry.Metric NUM_BYTES_IN
public static final AccumulatorRegistry.Metric NUM_BYTES_OUT
public static AccumulatorRegistry.Metric[] values()
for (AccumulatorRegistry.Metric c : AccumulatorRegistry.Metric.values()) System.out.println(c);
public static AccumulatorRegistry.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 © 2014–2017 The Apache Software Foundation. All rights reserved.