Package org.apache.heron.api.metric
Class ReducedMetric<T,U,V>
- java.lang.Object
-
- org.apache.heron.api.metric.ReducedMetric<T,U,V>
-
- Type Parameters:
T
- accumulator to hold and update stateU
- type of input that can be handledV
- type of reduced value
- All Implemented Interfaces:
IMetric<V>
public class ReducedMetric<T,U,V> extends Object implements IMetric<V>
Apply an update to an metric using an IReducer for which a result can be extracted.
-
-
Constructor Summary
Constructors Constructor Description ReducedMetric(IReducer<T,U,V> aReducer)
-