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.Metric
public long getValue()
getValue
in interface javax.batch.runtime.Metric
public void incValue()
public void incValueBy(long incValue)
Copyright © 2017 The Apache Software Foundation. All rights reserved.