public class AvgReducer<T extends Number,R extends Number> extends SumReducer<T,R>
T
into a result R
.redeuceHelper
Constructor and Description |
---|
AvgReducer(Class<R> reduceType) |
Modifier and Type | Method and Description |
---|---|
AvgReducer |
ignoreExceptions()
Causes the reducer to ignore exceptions and just sum the results that succeeded.
|
R |
reduce(List<AsyncResult<T>> results) |
public AvgReducer(Class<R> reduceType) throws IllegalArgumentException
IllegalArgumentException
public AvgReducer ignoreExceptions()
ignoreExceptions
in class SumReducer<T extends Number,R extends Number>
Copyright © GigaSpaces.