modules/platforms/dotnet/Apache.Ignite.Core/Impl/Compute/ComputeImpl.cs
/// <summary>
/// Executes collection of jobs on Ignite nodes within this grid projection.
/// </summary>
/// <param name="actions">Jobs to execute.</param>
Executes collection of jobs on Ignite nodes within this grid projection.
Executes collection of jobs on Ignite nodes within this grid projection .
public Future<object> Run(IEnumerable<IComputeAction> actions)
        {
            IgniteArgumentCheck.NotNull(actions, "actions");
            var actions0 = actions as ICollection;
            if (actions0 == null)
            {
                var jobs = actions.Select(a => new ComputeActionJob(a)).ToList();
                return ExecuteClosures0(new ComputeSingleClosureTask<object, object, object>(), jobs: jobs,
                    jobsCount: jobs.Count);
            }
            else
            {
                var jobs = actions.Select(a => new ComputeActionJob(a));
                return ExecuteClosures0(new ComputeSingleClosureTask<object, object, object>(), jobs: jobs,
                    jobsCount: actions0.Count);
            }
        }
public Future < object > Run ( IEnumerable < IComputeAction > actions ) { IgniteArgumentCheck . NotNull ( actions , " " ) ; var actions0 = actions as ICollection ; if ( actions0 == null ) { var jobs = actions . Select ( a => new ComputeActionJob ( a ) ) . ToList ( ) ; return ExecuteClosures0 ( new ComputeSingleClosureTask < object , object , object > ( ) , jobs : jobs , jobsCount : jobs . Count ) ; } else { var jobs = actions . Select ( a => new ComputeActionJob ( a ) ) ; return ExecuteClosures0 ( new ComputeSingleClosureTask < object , object , object > ( ) , jobs : jobs , jobsCount : actions0 . Count ) ; } }
Executes collection of jobs on Ignite nodes within this grid projection.
Executes collection of jobs on Ignite nodes within this grid projection .
actions
IEnumerable<IComputeAction>
Jobs to execute.
Jobs to execute .