com.hazelcast.internal.metrics.impl
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()
Metric
public void render(StringBuilder sb)
Metric
public long readLong()
Gauge
Math.round(double)
.
If no input is available, or there are problems obtaining a value from the input, 0 is returned.public double readDouble()
Gauge
readDouble
in interface Gauge
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.