类 SimpleMetric
- java.lang.Object
- org.springframework.batch.core.jsr.SimpleMetric
- 所有已实现的接口:
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.- 从以下版本开始:
- 3.0
- 作者:
- Michael Minella
构造器概要
构造器 构造器 说明 SimpleMetric(javax.batch.runtime.Metric.MetricType type, long value)
Basic constructor.
构造器详细资料
SimpleMetric
public SimpleMetric(javax.batch.runtime.Metric.MetricType type, long value)
Basic constructor. The attributes are immutable so this class is thread-safe.- 参数:
type
- as defined by JSR-352value
- the count of the times the related type has occurred.