public class SimpleMetric
extends java.lang.Object
implements javax.batch.runtime.Metric
Metric interface as required by JSR-352.| Constructor and Description |
|---|
SimpleMetric(javax.batch.runtime.Metric.MetricType type,
long value)
Basic constructor.
|
| Modifier and Type | Method and Description |
|---|---|
javax.batch.runtime.Metric.MetricType |
getType() |
long |
getValue() |