@Experimental(value=METRICS) public interface MetricResult<T>
| Modifier and Type | Method and Description | 
|---|---|
T | 
getAttempted()
Return the value of this metric across all attempts of executing all parts of the pipeline. 
 | 
T | 
getCommitted()
Return the value of this metric across all successfully completed parts of the pipeline. 
 | 
MetricName | 
getName()
Return the name of the metric. 
 | 
java.lang.String | 
getStep()
Return the step context to which this metric result applies. 
 | 
MetricName getName()
java.lang.String getStep()
T getCommitted()
Not all runners will support committed metrics. If they are not supported, the runner will
 throw an UnsupportedOperationException.
T getAttempted()