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.MetricType
getType()
long
getValue()
void
incValue()
void
incValueBy(long incValue)
-
-
-
Method Detail
-
getType
public javax.batch.runtime.Metric.MetricType getType()
- Specified by:
getType
in interfacejavax.batch.runtime.Metric
-
getValue
public long getValue()
- Specified by:
getValue
in interfacejavax.batch.runtime.Metric
-
incValue
public void incValue()
-
incValueBy
public void incValueBy(long incValue)
-
-