Class IntMetricImpl
- java.lang.Object
-
- org.apache.ignite.internal.processors.metric.AbstractMetric
-
- org.apache.ignite.internal.processors.metric.impl.IntMetricImpl
-
public class IntMetricImpl extends AbstractMetric implements IntMetric
Int metric implementation.
-
-
Constructor Summary
Constructors Constructor Description IntMetricImpl(String name, @Nullable String desc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int x)Adds x to the metric.voiddecrement()Adds -1 to the metric.voidincrement()Adds 1 to the metric.voidreset()Resets metric state.intvalue()voidvalue(int val)Sets value.-
Methods inherited from class org.apache.ignite.internal.processors.metric.AbstractMetric
description, equals, hashCode, name
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.spi.metric.IntMetric
getAsString
-
Methods inherited from interface org.apache.ignite.spi.metric.Metric
description, name
-
-