javax.batch.runtime
Interface Metric


public interface Metric

The Metric interface defines job metrics recorded by the batch runtime.


Nested Class Summary
static class Metric.MetricType
           
 
Method Summary
 Metric.MetricType getType()
          The getName method returns the metric name.
 long getValue()
          The getValue method returns the metric value.
 

Method Detail

getType

Metric.MetricType getType()
The getName method returns the metric name. The following names are defined: "readCount", "writeCount", "commitCount", "rollbackCount", "readSkipCount", "processSkipCount", "filterCount", "writeSkipCount"

Returns:
metric name.

getValue

long getValue()
The getValue method returns the metric value.

Returns:
metric value.


Copyright © 2013. All Rights Reserved.