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