public class DefaultGaugeService extends Object implements GaugeService
GaugeService.| Constructor and Description |
|---|
DefaultGaugeService(MetricWriter writer)
Create a
DefaultGaugeService instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
submit(String metricName,
double value)
Set the specified gauge value.
|
public DefaultGaugeService(MetricWriter writer)
DefaultGaugeService instance.writer - the underlying writer used to manage metricspublic void submit(String metricName, double value)
GaugeServicesubmit in interface GaugeServicemetricName - the name of the gauge to setvalue - the value of the gaugeCopyright © 2017 Pivotal Software, Inc.. All rights reserved.