Uses of Class
org.apache.hadoop.metrics2.MetricsRecordBuilder

Packages that use MetricsRecordBuilder
org.apache.hadoop.metrics2 Metrics 2.0 
org.apache.hadoop.metrics2.lib A collection of library classes for implementing metrics sources 
 

Uses of MetricsRecordBuilder in org.apache.hadoop.metrics2
 

Methods in org.apache.hadoop.metrics2 that return MetricsRecordBuilder
abstract  MetricsRecordBuilder MetricsRecordBuilder.add(AbstractMetric metric)
          Add a pre-made immutable metric object
abstract  MetricsRecordBuilder MetricsRecordBuilder.add(MetricsTag tag)
          Add an immutable metrics tag object
abstract  MetricsRecordBuilder MetricsRecordBuilder.addCounter(MetricsInfo info, int value)
          Add an integer metric
abstract  MetricsRecordBuilder MetricsRecordBuilder.addCounter(MetricsInfo info, long value)
          Add an long metric
abstract  MetricsRecordBuilder MetricsRecordBuilder.addGauge(MetricsInfo info, double value)
          Add a double gauge metric
abstract  MetricsRecordBuilder MetricsRecordBuilder.addGauge(MetricsInfo info, float value)
          Add a float gauge metric
abstract  MetricsRecordBuilder MetricsRecordBuilder.addGauge(MetricsInfo info, int value)
          Add a integer gauge metric
abstract  MetricsRecordBuilder MetricsRecordBuilder.addGauge(MetricsInfo info, long value)
          Add a long gauge metric
 MetricsRecordBuilder MetricsCollector.addRecord(MetricsInfo info)
          Add a metrics record
 MetricsRecordBuilder MetricsCollector.addRecord(String name)
          Add a metrics record
abstract  MetricsRecordBuilder MetricsRecordBuilder.setContext(String value)
          Set the context tag
abstract  MetricsRecordBuilder MetricsRecordBuilder.tag(MetricsInfo info, String value)
          Add a metrics tag
 

Uses of MetricsRecordBuilder in org.apache.hadoop.metrics2.lib
 

Methods in org.apache.hadoop.metrics2.lib with parameters of type MetricsRecordBuilder
 void MutableMetric.snapshot(MetricsRecordBuilder builder)
          Get a snapshot of metric if changed
 void MutableRates.snapshot(MetricsRecordBuilder rb, boolean all)
           
abstract  void MutableMetric.snapshot(MetricsRecordBuilder builder, boolean all)
          Get a snapshot of the metric
 void MutableStat.snapshot(MetricsRecordBuilder builder, boolean all)
           
 void MutableGaugeLong.snapshot(MetricsRecordBuilder builder, boolean all)
           
 void MutableQuantiles.snapshot(MetricsRecordBuilder builder, boolean all)
           
 void MutableCounterInt.snapshot(MetricsRecordBuilder builder, boolean all)
           
 void MutableCounterLong.snapshot(MetricsRecordBuilder builder, boolean all)
           
 void MetricsRegistry.snapshot(MetricsRecordBuilder builder, boolean all)
          Sample all the mutable metrics and put the snapshot in the builder
 void MutableGaugeInt.snapshot(MetricsRecordBuilder builder, boolean all)
           
 



Copyright © 2014 Apache Software Foundation. All Rights Reserved.