org.gridgain.grid.lang
Class GridReducer3X<E1,E2,E3,R>
java.lang.Object
org.gridgain.grid.lang.GridMetadataAwareAdapter
org.gridgain.grid.lang.GridLambdaAdapter
org.gridgain.grid.lang.GridOutClosure<R>
org.gridgain.grid.lang.GridReducer3<E1,E2,E3,R>
org.gridgain.grid.lang.GridReducer3X<E1,E2,E3,R>
- All Implemented Interfaces:
- Serializable, Cloneable, Callable<R>, GridJob, GridMetadataAware, GridPeerDeployAware, GridLambda
- Direct Known Subclasses:
- RX3
public abstract class GridReducer3X<E1,E2,E3,R>
- extends GridReducer3<E1,E2,E3,R>
Convenient reducer subclass that allows for thrown grid exception. This class
implements GridReducer3X.apply() method that calls GridReducer3X.applyx() method and
properly wraps GridException into GridClosureException instance.
- See Also:
RX3,
Serialized Form
-

| Methods inherited from class org.gridgain.grid.lang.GridMetadataAwareAdapter |
addMeta, addMetaIfAbsent, addMetaIfAbsent, allMeta, clone, copyMeta, copyMeta, hasMeta, hasMeta, meta, putMetaIfAbsent, putMetaIfAbsent, readExternalMeta, removeMeta, removeMeta, replaceMeta, writeExternalMeta |
| Methods inherited from interface org.gridgain.grid.GridMetadataAware |
addMeta, addMetaIfAbsent, addMetaIfAbsent, allMeta, copyMeta, copyMeta, hasMeta, hasMeta, meta, putMetaIfAbsent, putMetaIfAbsent, removeMeta, removeMeta, replaceMeta |
GridReducer3X
public GridReducer3X()
apply
public R apply()
- Factory closure body.
- Specified by:
apply in class GridOutClosure<R>
- Returns:
- Element.
applyx
public abstract R applyx()
throws GridException
- Reducer body that can throw
GridException.
- Throws:
GridException - Thrown in case of any error condition inside of the reducer.
- Returns:
- Reducer return value.