E
- Type of collected values.R
- Type of reduced value.public interface IgniteReducer<E,R> extends Serializable
IgniteCompute.call(Collection, IgniteReducer)
method.Modifier and Type | Method and Description |
---|---|
boolean |
collect(E e)
Collects given value.
|
R |
reduce()
Reduces collected values into one.
|
boolean collect(E e)
false
then reduce()
will be called right away. Otherwise caller will continue collecting until all
values are processed.e
- Value to collect returned from a compute job.true
to continue collecting, false
to instruct caller to stop
collecting and call reduce()
method.R reduce()
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024