public interface Gauge extends Metric
readDouble() and
readDouble() return 0.
A Gauge can be used after the MetricsRegistry.deregister(Object) is called. In this case, the readDouble() and
readDouble() return 0.| Modifier and Type | Method and Description |
|---|---|
double |
readDouble()
Reads the current available (gauge metric) value as a double.
|
long |
readLong()
Reads the current available (gauge metric) value as a long.
|
long readLong()
Math.round(double).
If no input is available, or there are problems obtaining a value from the input, 0 is returned.double readDouble()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.