javax.batch.runtime

## 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 and Description
    --- | ---
    `static class` | `Metric.MetricType`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Metric.MetricType` | `getType()` The getName method returns the metric type.
    `long` | `getValue()` The getValue method returns the metric value.

- - ### Method Detail

    - #### getType

          Metric.MetricType getType()

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

    - #### getValue

          long getValue()

      The getValue method returns the metric value.
      Returns:
        metric value.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.