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 getType method returns the metric type.
 long getValue()
          The getValue method returns the metric value.
 

Method Detail

getType

Metric.MetricType getType()
The getType method returns the metric type.

Returns:
metric type.

getValue

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

Returns:
metric value.


© Copyright IBM Corp. 2013
Licensed under the Apache License, Version 2.0