java.lang.Object
org.apache.flink.runtime.rest.messages.job.metrics.Metric

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

    • 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.
  • Method Details