Class Metrics2ThriftMetrics
- java.lang.Object
-
- org.apache.accumulo.server.metrics.Metrics2ThriftMetrics
-
- All Implemented Interfaces:
Metrics
,ThriftMetricsKeys
,org.apache.hadoop.metrics2.MetricsSource
public class Metrics2ThriftMetrics extends Object implements Metrics, org.apache.hadoop.metrics2.MetricsSource, ThriftMetricsKeys
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONTEXT
-
Fields inherited from interface org.apache.accumulo.server.metrics.Metrics
MASTER_NAME, PREFIX, THRIFT_NAME, TSERVER_NAME
-
Fields inherited from interface org.apache.accumulo.server.metrics.ThriftMetricsKeys
execute, idle
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(String name, long time)
void
getMetrics(org.apache.hadoop.metrics2.MetricsCollector collector, boolean all)
boolean
isEnabled()
void
register()
-
-
-
Field Detail
-
CONTEXT
public static final String CONTEXT
- See Also:
- Constant Field Values
-
-