E - Type of collected values.R - Type of reduced value.public interface GridReducer<E,R> extends Serializable
GridCompute.call(Collection, GridReducer) method.boolean collect(@Nullable E e)
false then reduce()
will be called right away. Otherwise caller will continue collecting until all
values are processed.e - Value to collect.true to continue collecting, false to instruct caller to stop
collecting and call reduce() method.R reduce()
Copyright © 2014. All rights reserved.