com.yammer.metrics.core
Interface MetricsProcessor<T>

All Known Implementing Classes:
ConsoleReporter, CsvReporter, JmxReporter

public interface MetricsProcessor<T>


Method Summary
 void processCounter(MetricName name, CounterMetric counter, T context)
           
 void processGauge(MetricName name, GaugeMetric<?> gauge, T context)
           
 void processHistogram(MetricName name, HistogramMetric histogram, T context)
           
 void processMeter(MetricName name, Metered meter, T context)
           
 void processTimer(MetricName name, TimerMetric timer, T context)
           
 

Method Detail

processMeter

void processMeter(MetricName name,
                  Metered meter,
                  T context)
                  throws Exception
Throws:
Exception

processCounter

void processCounter(MetricName name,
                    CounterMetric counter,
                    T context)
                    throws Exception
Throws:
Exception

processHistogram

void processHistogram(MetricName name,
                      HistogramMetric histogram,
                      T context)
                      throws Exception
Throws:
Exception

processTimer

void processTimer(MetricName name,
                  TimerMetric timer,
                  T context)
                  throws Exception
Throws:
Exception

processGauge

void processGauge(MetricName name,
                  GaugeMetric<?> gauge,
                  T context)
                  throws Exception
Throws:
Exception


Copyright © 2011. All Rights Reserved.