Class SimpleMetric
- java.lang.Object
- org.springframework.batch.core.jsr.SimpleMetric
- All Implemented Interfaces:
javax.batch.runtime.Metric
public class SimpleMetric extends java.lang.Object implements javax.batch.runtime.Metric
Simple implementation of theMetric
interface as required by JSR-352.- Since:
- 3.0
- Author:
- Michael Minella
Constructor Summary
Constructors Constructor Description SimpleMetric(javax.batch.runtime.Metric.MetricType type, long value)
Basic constructor.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.batch.runtime.Metric.MetricType
getType()
long
getValue()