com.janramm.metrics_zabbix.metric_provider
Class TimerMetricProvider

java.lang.Object
  extended by com.janramm.metrics_zabbix.metric_provider.TimerMetricProvider
All Implemented Interfaces:
com.quigley.zabbixj.metrics.MetricsProvider

public class TimerMetricProvider
extends Object
implements com.quigley.zabbixj.metrics.MetricsProvider

Metrics Zabbix adapter for the Timer implementation

Author:
jan.ramm

Constructor Summary
TimerMetricProvider(com.codahale.metrics.Timer timer)
           
 
Method Summary
 Object getValue(com.quigley.zabbixj.metrics.MetricsKey mKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerMetricProvider

public TimerMetricProvider(com.codahale.metrics.Timer timer)
Method Detail

getValue

public Object getValue(com.quigley.zabbixj.metrics.MetricsKey mKey)
                throws com.quigley.zabbixj.metrics.MetricsException
Specified by:
getValue in interface com.quigley.zabbixj.metrics.MetricsProvider
Throws:
com.quigley.zabbixj.metrics.MetricsException


Copyright © 2013. All Rights Reserved.