public class MetricImpl extends Object implements javax.batch.runtime.Metric
| Constructor and Description |
|---|
MetricImpl(javax.batch.runtime.Metric.MetricType name,
long value) |
| Modifier and Type | Method and Description |
|---|---|
javax.batch.runtime.Metric.MetricType |
getType() |
long |
getValue() |
void |
incValue() |
void |
incValueBy(long incValue) |
public MetricImpl(javax.batch.runtime.Metric.MetricType name,
long value)
public javax.batch.runtime.Metric.MetricType getType()
getType in interface javax.batch.runtime.Metricpublic long getValue()
getValue in interface javax.batch.runtime.Metricpublic void incValue()
public void incValueBy(long incValue)
Copyright © 2022 The Apache Software Foundation. All rights reserved.