Class Metric


  • public class Metric
    extends Object
    Response type for a Metric and Metric-Value-Pair.
    See Also:
    MetricStore
    • Constructor Detail

      • Metric

        public Metric​(String id,
                      @Nullable
                      String value)
        Creates a new Metric with a possible value.
        Parameters:
        id - Name of the metric.
        value - Value of the metric. Can be null.
      • Metric

        public Metric​(String id)
        Creates a new Metric without a value.
        Parameters:
        id - Name of the metric.