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