
public class MetricImpl extends Object implements javax.batch.runtime.Metric, Serializable
| Constructor and Description |
|---|
MetricImpl(javax.batch.runtime.Metric.MetricType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static long |
getMetric(AbstractStepExecution stepExecution,
javax.batch.runtime.Metric.MetricType type) |
javax.batch.runtime.Metric.MetricType |
getType() |
long |
getValue() |
int |
hashCode() |
void |
increment(long i) |
void |
setValue(long value1) |
String |
toString() |
public javax.batch.runtime.Metric.MetricType getType()
getType in interface javax.batch.runtime.Metricpublic long getValue()
getValue in interface javax.batch.runtime.Metricpublic void setValue(long value1)
public void increment(long i)
public static long getMetric(AbstractStepExecution stepExecution, javax.batch.runtime.Metric.MetricType type)
Copyright © 2018 JBoss by Red Hat. All rights reserved.