Convenience adapter for GridGain.Compute.IComputeTask<A, T, R> interface
More...
Inherits GridGain.Compute.IComputeTask< A, T, R >.
Inherited by GridGain.Compute.ComputeTaskSplitAdapter< A, T, R >.
- Parameters
-
| subgrid | Nodes available for this task execution. Note that order of nodes is guaranteed to be randomized by container. This ensures that every time you simply iterate through grid nodes, the order of nodes will be random which over time should result into all nodes being used equally. |
| arg | Task execution argument. Can be null. This is the same argument as the one passed into ICompute.Execute() methods. |
- Returns
- Map of grid jobs assigned to subgrid node. If
null or empty map is returned, exception will be thrown.
Implemented in GridGain.Compute.ComputeTaskSplitAdapter< A, T, R >.
Note, that if some jobs did not succeed and could not be failed over then the list of results passed into this method will include the failed results. Otherwise, failed results will not be in the list.
- Parameters
-
- Returns
- Task result constructed from results of remote executions.
- Parameters
-
| res | Received remote grid executable result. |
| rcvd | All previously received results. |
- Returns
- Result policy that dictates how to process further upcoming job results.