Package jakarta.batch.runtime
Interface Metric
- 
 public interface MetricThe Metric interface defines job metrics recorded by the batch runtime.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classMetric.MetricTypeThe enum defining the specification-defined metric types.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Metric.MetricTypegetType()The getName method returns the metric type.longgetValue()The getValue method returns the metric value.
 
- 
- 
- 
Method Detail- 
getTypeMetric.MetricType getType() The getName method returns the metric type.- Returns:
- metric type.
 
 - 
getValuelong getValue() The getValue method returns the metric value.- Returns:
- metric value.
 
 
- 
 
-