T
- accumulator to hold and update stateU
- type of input that can be handledV
- type of reduced valuepublic class ReducedMetric<T,U,V> extends java.lang.Object implements IMetric<V>
Constructor and Description |
---|
ReducedMetric(IReducer<T,U,V> aReducer) |
Modifier and Type | Method and Description |
---|---|
V |
getValueAndReset() |
void |
update(U value) |