org.apache.hadoop.metrics2
Interface MetricsCollector


@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface MetricsCollector

The metrics collector interface


Method Summary
 MetricsRecordBuilder addRecord(MetricsInfo info)
          Add a metrics record
 MetricsRecordBuilder addRecord(String name)
          Add a metrics record
 

Method Detail

addRecord

MetricsRecordBuilder addRecord(String name)
Add a metrics record

Parameters:
name - of the record
Returns:
a metrics record builder for the record

addRecord

MetricsRecordBuilder addRecord(MetricsInfo info)
Add a metrics record

Parameters:
info - of the record
Returns:
a metrics record builder for the record


Copyright © 2014 Apache Software Foundation. All Rights Reserved.