public class DefaultGaugeService extends Object implements GaugeService
GaugeService
.Constructor and Description |
---|
DefaultGaugeService(MetricRepository counterRepository)
Create a new
DefaultGaugeService instance. |
public DefaultGaugeService(MetricRepository counterRepository)
DefaultGaugeService
instance.counterRepository
- public void set(String metricName, double value)
GaugeService
set
in interface GaugeService
metricName
- the metric to setvalue
- the value of the metricCopyright © 2013. All rights reserved.