Package jakarta.batch.runtime
Interface Metric
public interface Metric
The Metric interface defines job metrics recorded by
the batch runtime.
-
Method Details
-
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.
-