Class ObjectGauge<T>
- java.lang.Object
-
- org.apache.ignite.internal.processors.metric.AbstractMetric
-
- org.apache.ignite.internal.processors.metric.impl.ObjectGauge<T>
-
- All Implemented Interfaces:
Metric,ObjectMetric<T>
public class ObjectGauge<T> extends AbstractMetric implements ObjectMetric<T>
Implementation based on primitive supplier.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<T>type()Tvalue()-
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.Metric
description, name, reset
-
Methods inherited from interface org.apache.ignite.spi.metric.ObjectMetric
getAsString
-
-
-
-
Method Detail
-
value
public T value()
- Specified by:
valuein interfaceObjectMetric<T>- Returns:
- Value ot the metric.
-
type
public Class<T> type()
- Specified by:
typein interfaceObjectMetric<T>- Returns:
- Type of metric value.
-
-