Class MetricImpl
- java.lang.Object
-
- org.apache.batchee.container.impl.MetricImpl
-
- All Implemented Interfaces:
javax.batch.runtime.Metric
public class MetricImpl extends Object implements javax.batch.runtime.Metric
-
-
Constructor Summary
Constructors Constructor Description MetricImpl(javax.batch.runtime.Metric.MetricType name, long value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.batch.runtime.Metric.MetricTypegetType()longgetValue()voidincValue()voidincValueBy(long incValue)
-
-
-
Method Detail
-
getType
public javax.batch.runtime.Metric.MetricType getType()
- Specified by:
getTypein interfacejavax.batch.runtime.Metric
-
getValue
public long getValue()
- Specified by:
getValuein interfacejavax.batch.runtime.Metric
-
incValue
public void incValue()
-
incValueBy
public void incValueBy(long incValue)
-
-