| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name that identifies this metric.
|
double |
readDouble()
Reads the current available (gauge metric) value as a double.
|
long |
readLong()
Reads the current available (gauge metric) value as a long.
|
void |
render(StringBuilder sb)
Renders the metric.
|
public String getName()
Metricpublic void render(StringBuilder sb)
Metricpublic long readLong()
GaugeMath.round(double).
If no input is available, or there are problems obtaining a value from the input, 0 is returned.public double readDouble()
GaugereadDouble in interface GaugeCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.