modules/platforms/dotnet/Apache.Ignite.Core/Impl/Compute/ComputeImpl.cs
/// <summary>
/// Executes given Java task on the grid projection. If task for given name has not been deployed yet,
/// then 'taskName' will be used as task class name to auto-deploy the task.
/// </summary>
Executes given Java task on the grid projection. If task for given name has not been deployed yet,
then 'taskName' will be used as task class name to auto-deploy the task.
Executes given Java task on the grid projection . If task for given name has not been deployed yet then ' taskName ' will be used as task class name to auto - deploy the task .
public TReduceRes ExecuteJavaTask<TReduceRes>(string taskName, object taskArg)
        {
            IgniteArgumentCheck.NotNullOrEmpty(taskName, "taskName");
            ICollection<IClusterNode> nodes = _prj.Predicate == null ? null : _prj.GetNodes();
            try
            {
                return DoOutInOp<TReduceRes>(OpExec, writer => WriteTask(writer, taskName, taskArg, nodes));
            }
            finally
            {
                _keepBinary.Value = false;
            }
        }
public TReduceRes ExecuteJavaTask < TReduceRes > ( string taskName , object taskArg ) { IgniteArgumentCheck . NotNullOrEmpty ( taskName , " " ) ; ICollection < IClusterNode > nodes = _prj . Predicate == null ? null : _prj . GetNodes ( ) ; try { return DoOutInOp < TReduceRes > ( OpExec , writer => WriteTask ( writer , taskName , taskArg , nodes ) ) ; } finally { _keepBinary . Value = false ; } }
Executes given Java task on the grid projection.
Executes given Java task on the grid projection .
taskName
string
taskArg
object