org.apache.hadoop.metrics2
Interface MetricsSource


@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface MetricsSource

The metrics source interface


Method Summary
 void getMetrics(MetricsCollector collector, boolean all)
          Get metrics from the source
 

Method Detail

getMetrics

void getMetrics(MetricsCollector collector,
                boolean all)
Get metrics from the source

Parameters:
collector - to contain the resulting metrics snapshot
all - if true, return all metrics even if unchanged.


Copyright © 2014 Apache Software Foundation. All Rights Reserved.