public abstract class GridReducerX<E1,R> extends Object implements GridReducer<E1,R>
reduce() method that calls applyx() method and
properly wraps GridException into GridClosureException instance.RX1,
Serialized Form| Constructor and Description |
|---|
GridReducerX() |
| Modifier and Type | Method and Description |
|---|---|
abstract R |
applyx()
Reducer body that can throw
GridException. |
R |
reduce()
Reduces collected values into one.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcollectpublic R reduce()
reduce in interface GridReducer<E1,R>public abstract R applyx() throws GridException
GridException.GridException - Thrown in case of any error condition inside of the reducer.Copyright © 2014. All rights reserved.