public class DoubleMetricImpl extends AbstractMetric implements DoubleMetric
| Constructor and Description |
|---|
DoubleMetricImpl(String name,
@Nullable String desc) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(double x)
Adds x to the metric.
|
void |
reset()
Resets metric state.
|
double |
value() |
void |
value(double val)
Sets value.
|
description, equals, hashCode, nameclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAsStringdescription, namepublic void add(double x)
x - Value to be added.public void value(double val)
val - Value.public double value()
value in interface DoubleMetric
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020