A distributed space task is a ISpaceTask<(Of <(T>)>) that is executed on several space nodes,
and reduces the result collected from all the nodes into a single result. (Map Reduce pattern).
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
public interface IDistributedSpaceTask<R, T> : ISpaceTask<T>, ISpaceTaskResultsReducer<R, T>
Public Interface IDistributedSpaceTask(Of R, T) _ Implements ISpaceTask(Of T), ISpaceTaskResultsReducer(Of R, T)
generic<typename R, typename T> public interface class IDistributedSpaceTask : ISpaceTask<T>, ISpaceTaskResultsReducer<R, T>
Generic Template Parameters
- R
- Type of distributed task reduced result.
- T
- Type of each single space task execution result.
Members
All Members | Methods | ||||
Icon | Member | Description |
---|---|---|
Execute(ISpaceProxy, ITransaction) |
Computes a result, or throws an exception if unable to do so.
(Inherited from ISpaceTask<(Of <(T>)>).) | |
Reduce(SpaceTaskResultsCollection<(Of <(T>)>)) |
Reduce a list of SpaceTaskResult<(Of <(T>)>) into a single result.
(Inherited from ISpaceTaskResultsReducer<(Of <(R, T>)>).) |