@InterfaceAudience.Private @Metrics(context="yarn") public class DisableEventTypeMetrics extends Object implements EventTypeMetrics
Constructor and Description |
---|
DisableEventTypeMetrics() |
Modifier and Type | Method and Description |
---|---|
long |
get(Enum type) |
void |
getMetrics(org.apache.hadoop.metrics2.MetricsCollector collector,
boolean all) |
void |
increment(Enum type,
long processingTimeUs) |
public void increment(Enum type, long processingTimeUs)
increment
in interface EventTypeMetrics
public void getMetrics(org.apache.hadoop.metrics2.MetricsCollector collector, boolean all)
getMetrics
in interface org.apache.hadoop.metrics2.MetricsSource
public long get(Enum type)
get
in interface EventTypeMetrics
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.