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