Package org.apache.ignite.spi.metric
Interface BooleanMetric
-
- All Superinterfaces:
Metric
- All Known Implementing Classes:
BooleanGauge,BooleanMetricImpl
public interface BooleanMetric extends Metric
Interface for the metrics that holds boolean primitive.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StringgetAsString()booleanvalue()-
Methods inherited from interface org.apache.ignite.spi.metric.Metric
description, name, reset
-
-
-
-
Method Detail
-
value
boolean value()
- Returns:
- Value of the metric.
-
getAsString
default String getAsString()
- Specified by:
getAsStringin interfaceMetric- Returns:
- String representation of metric value.
-
-