public class Metrics2ThriftMetrics extends Object implements Metrics, org.apache.hadoop.metrics2.MetricsSource, ThriftMetricsKeys
Modifier and Type | Field and Description |
---|---|
static String |
CONTEXT |
MASTER_NAME, PREFIX, THRIFT_NAME, TSERVER_NAME
execute, idle
Modifier and Type | Method and Description |
---|---|
void |
add(String name,
long time) |
void |
getMetrics(org.apache.hadoop.metrics2.MetricsCollector collector,
boolean all) |
boolean |
isEnabled() |
void |
register() |
public static final String CONTEXT
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.