Interface Metric


public interface Metric
The Metric interface defines job metrics recorded by the batch runtime.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    The enum defining the specification-defined metric types.
  • Method Summary

    Modifier and Type
    Method
    Description
    The getName method returns the metric type.
    long
    The getValue method returns the metric value.
  • Method Details

    • getType

      The getName method returns the metric type.
      Returns:
      metric type.
    • getValue

      long getValue()
      The getValue method returns the metric value.
      Returns:
      metric value.