@UsesJava8 public class BufferGaugeService extends Object implements GaugeService
GaugeService
using GaugeBuffers
.Constructor and Description |
---|
BufferGaugeService(GaugeBuffers buffers)
Create a
BufferGaugeService instance. |
Modifier and Type | Method and Description |
---|---|
void |
submit(String metricName,
double value)
Set the specified gauge value.
|
public BufferGaugeService(GaugeBuffers buffers)
BufferGaugeService
instance.buffers
- the underlying buffers used to store metricspublic void submit(String metricName, double value)
GaugeService
submit
in interface GaugeService
metricName
- the name of the gauge to setvalue
- the value of the gaugeCopyright © 2019 Pivotal Software, Inc.. All rights reserved.