| <!DOCTYPE html>
|
| <!--[if IE]><![endif]-->
|
| <html>
|
|
|
| <head> |
| <link rel="canonical" href="https://ignite.apache.org/releases/2.4.0/dotnetdoc/api/Apache.Ignite.Core.Compute.ICompute.html" /> |
| <META NAME="ROBOTS" CONTENT="NOINDEX"> |
|
|
| <meta charset="utf-8">
|
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
| <title>Interface ICompute
|
| | Apache Ignite.NET </title>
|
| <meta name="viewport" content="width=device-width">
|
| <meta name="title" content="Interface ICompute
|
| | Apache Ignite.NET ">
|
| <meta name="generator" content="docfx 2.24.0.0">
|
|
|
| <link rel="shortcut icon" href="../images/favicon.ico">
|
| <link rel="stylesheet" href="../styles/docfx.vendor.css">
|
| <link rel="stylesheet" href="../styles/docfx.css">
|
| <link rel="stylesheet" href="../styles/main.css">
|
| <meta property="docfx:navrel" content="../toc.html">
|
| <meta property="docfx:tocrel" content="toc.html">
|
|
|
| <meta property="docfx:rel" content="../">
|
|
|
| |
| <script> |
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); |
| |
| ga('create', 'UA-61232409-1', 'auto'); |
| ga('send', 'pageview'); |
| |
| </script></head>
|
| <body data-spy="scroll" data-target="#affix">
|
| <div id="wrapper">
|
| <header>
|
|
|
| <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
|
| <div class="container">
|
| <div class="navbar-header">
|
| <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
|
| <span class="sr-only">Toggle navigation</span>
|
| <span class="icon-bar"></span>
|
| <span class="icon-bar"></span>
|
| <span class="icon-bar"></span>
|
| </button>
|
|
|
| <a class="navbar-brand" href="../index.html">
|
| <img id="logo" class="svg" src="../images/logo_ignite_32_32.png" alt="">
|
| </a>
|
| </div>
|
| <div class="collapse navbar-collapse" id="navbar">
|
| <form class="navbar-form navbar-right" role="search" id="search">
|
| <div class="form-group">
|
| <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
|
| </div>
|
| </form>
|
| </div>
|
| </div>
|
| </nav>
|
|
|
| <div class="subnav navbar navbar-default">
|
| <div class="container hide-when-search" id="breadcrumb">
|
| <ul class="breadcrumb">
|
| <li></li>
|
| </ul>
|
| </div>
|
| </div>
|
| </header>
|
| <div class="container body-content">
|
|
|
| <div id="search-results">
|
| <div class="search-list"></div>
|
| <div class="sr-items"></div>
|
| <ul id="pagination"></ul>
|
| </div>
|
| </div>
|
| <div role="main" class="container body-content hide-when-search">
|
|
|
| <div class="sidenav hide-when-search">
|
| <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
|
| <div class="sidetoggle collapse" id="sidetoggle">
|
| <div id="sidetoc"></div>
|
| </div>
|
| </div>
|
| <div class="article row grid-right">
|
| <div class="col-md-10">
|
| <article class="content wrap" id="_content" data-uid="Apache.Ignite.Core.Compute.ICompute">
|
|
|
|
|
| <h1 id="Apache_Ignite_Core_Compute_ICompute" data-uid="Apache.Ignite.Core.Compute.ICompute" class="text-break">Interface ICompute
|
| </h1>
|
| <div class="markdown level0 summary"><p>Defines Ignite functionality for executing tasks and closures over nodes |
| in the <a class="xref" href="Apache.Ignite.Core.Cluster.IClusterGroup.html">IClusterGroup</a>. Instance of <a class="xref" href="Apache.Ignite.Core.Compute.ICompute.html">ICompute</a> |
| is obtained from grid projection using <a class="xref" href="Apache.Ignite.Core.Cluster.IClusterGroup.html#Apache_Ignite_Core_Cluster_IClusterGroup_GetCompute">GetCompute()</a> method. |
| <p> |
| Note that if attempt is made to execute a computation over an empty projection (i.e. projection that does |
| not have any alive nodes), <code>ClusterGroupEmptyException</code> will be thrown out of result task. |
| <p> |
| Ignite must select a node for a computation to be executed. The node will be selected based on the |
| underlying <code>GridLoadBalancingSpi</code>, which by default sequentially picks next available node from |
| grid projection. Other load balancing policies, such as <code>random</code> or <code>adaptive</code>, can be |
| configured as well by selecting different load balancing SPI in Ignite configuration. If your logic requires |
| some custom load balancing behavior, consider implementing <code>ComputeTask</code> in Java directly. |
| <p> |
| Ignite guarantees that as long as there is at least one Ignite node standing, every job will be |
| executed. Jobs will automatically failover to another node if a remote node crashed or has rejected |
| execution due to lack of resources. By default, in case of failover, next load balanced node will be |
| picked for job execution. Also jobs will never be re-routed to the nodes they have failed on. This |
| behavior can be changed by configuring any of the existing or a custom <code>FailoverSpi</code> in Ignite |
| configuration. |
| <p> |
| All members are thread-safe and may be used concurrently from multiple threads.</p> |
| </div>
|
| <div class="markdown level0 conceptual"></div>
|
| <h6><strong>Namespace</strong>: <a class="xref" href="Apache.Ignite.Core.Compute.html">Apache.Ignite.Core.Compute</a></h6>
|
| <h6><strong>Assembly</strong>: Apache.Ignite.Core.dll</h6>
|
| <h5 id="Apache_Ignite_Core_Compute_ICompute_syntax">Syntax</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">public interface ICompute</code></pre>
|
| </div>
|
| <h3 id="properties">Properties
|
| </h3>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_ClusterGroup_" data-uid="Apache.Ignite.Core.Compute.ICompute.ClusterGroup*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_ClusterGroup" data-uid="Apache.Ignite.Core.Compute.ICompute.ClusterGroup">ClusterGroup</h4>
|
| <div class="markdown level1 summary"><p>Grid projection to which this compute instance belongs.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">IClusterGroup ClusterGroup { get; }</code></pre>
|
| </div>
|
| <h5 class="propertyValue">Property Value</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Cluster.IClusterGroup.html">IClusterGroup</a></td>
|
| <td></td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h3 id="methods">Methods
|
| </h3>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_AffinityCall_" data-uid="Apache.Ignite.Core.Compute.ICompute.AffinityCall*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_AffinityCall__1_System_String_System_Object_Apache_Ignite_Core_Compute_IComputeFunc___0__" data-uid="Apache.Ignite.Core.Compute.ICompute.AffinityCall``1(System.String,System.Object,Apache.Ignite.Core.Compute.IComputeFunc{``0})">AffinityCall<TRes>(String, Object, IComputeFunc<TRes>)</h4>
|
| <div class="markdown level1 summary"><p>Executes given job on the node where data for provided affinity key is located |
| (a.k.a. affinity co-location).</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">TRes AffinityCall<TRes>(string cacheName, object affinityKey, IComputeFunc<TRes> clo)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.String</span></td>
|
| <td><span class="parametername">cacheName</span></td>
|
| <td><p>Name of the cache to use for affinity co-location.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Object</span></td>
|
| <td><span class="parametername">affinityKey</span></td>
|
| <td><p>Affinity key.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-1.html">IComputeFunc</a><TRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to execute.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">TRes</span></td>
|
| <td><p>Job result for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_AffinityCallAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.AffinityCallAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_AffinityCallAsync__1_System_String_System_Object_Apache_Ignite_Core_Compute_IComputeFunc___0__" data-uid="Apache.Ignite.Core.Compute.ICompute.AffinityCallAsync``1(System.String,System.Object,Apache.Ignite.Core.Compute.IComputeFunc{``0})">AffinityCallAsync<TRes>(String, Object, IComputeFunc<TRes>)</h4>
|
| <div class="markdown level1 summary"><p>Executes given job on the node where data for provided affinity key is located |
| (a.k.a. affinity co-location).</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<TRes> AffinityCallAsync<TRes>(string cacheName, object affinityKey, IComputeFunc<TRes> clo)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.String</span></td>
|
| <td><span class="parametername">cacheName</span></td>
|
| <td><p>Name of the cache to use for affinity co-location.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Object</span></td>
|
| <td><span class="parametername">affinityKey</span></td>
|
| <td><p>Affinity key.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-1.html">IComputeFunc</a><TRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to execute.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><TRes></td>
|
| <td><p>Job result for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_AffinityCallAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.AffinityCallAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_AffinityCallAsync__1_System_String_System_Object_Apache_Ignite_Core_Compute_IComputeFunc___0__System_Threading_CancellationToken_" data-uid="Apache.Ignite.Core.Compute.ICompute.AffinityCallAsync``1(System.String,System.Object,Apache.Ignite.Core.Compute.IComputeFunc{``0},System.Threading.CancellationToken)">AffinityCallAsync<TRes>(String, Object, IComputeFunc<TRes>, CancellationToken)</h4>
|
| <div class="markdown level1 summary"><p>Executes given job on the node where data for provided affinity key is located |
| (a.k.a. affinity co-location).</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<TRes> AffinityCallAsync<TRes>(string cacheName, object affinityKey, IComputeFunc<TRes> clo, CancellationToken cancellationToken)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.String</span></td>
|
| <td><span class="parametername">cacheName</span></td>
|
| <td><p>Name of the cache to use for affinity co-location.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Object</span></td>
|
| <td><span class="parametername">affinityKey</span></td>
|
| <td><p>Affinity key.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-1.html">IComputeFunc</a><TRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to execute.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Threading.CancellationToken</span></td>
|
| <td><span class="parametername">cancellationToken</span></td>
|
| <td><p>The cancellation token.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><TRes></td>
|
| <td><p>Job result for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_AffinityRun_" data-uid="Apache.Ignite.Core.Compute.ICompute.AffinityRun*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_AffinityRun_System_String_System_Object_Apache_Ignite_Core_Compute_IComputeAction_" data-uid="Apache.Ignite.Core.Compute.ICompute.AffinityRun(System.String,System.Object,Apache.Ignite.Core.Compute.IComputeAction)">AffinityRun(String, Object, IComputeAction)</h4>
|
| <div class="markdown level1 summary"><p>Executes given job on the node where data for provided affinity key is located |
| (a.k.a. affinity co-location).</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">void AffinityRun(string cacheName, object affinityKey, IComputeAction action)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.String</span></td>
|
| <td><span class="parametername">cacheName</span></td>
|
| <td><p>Name of the cache to use for affinity co-location.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Object</span></td>
|
| <td><span class="parametername">affinityKey</span></td>
|
| <td><p>Affinity key.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeAction.html">IComputeAction</a></td>
|
| <td><span class="parametername">action</span></td>
|
| <td><p>Job to execute.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_AffinityRunAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.AffinityRunAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_AffinityRunAsync_System_String_System_Object_Apache_Ignite_Core_Compute_IComputeAction_" data-uid="Apache.Ignite.Core.Compute.ICompute.AffinityRunAsync(System.String,System.Object,Apache.Ignite.Core.Compute.IComputeAction)">AffinityRunAsync(String, Object, IComputeAction)</h4>
|
| <div class="markdown level1 summary"><p>Executes given job on the node where data for provided affinity key is located |
| (a.k.a. affinity co-location).</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task AffinityRunAsync(string cacheName, object affinityKey, IComputeAction action)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.String</span></td>
|
| <td><span class="parametername">cacheName</span></td>
|
| <td><p>Name of the cache to use for affinity co-location.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Object</span></td>
|
| <td><span class="parametername">affinityKey</span></td>
|
| <td><p>Affinity key.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeAction.html">IComputeAction</a></td>
|
| <td><span class="parametername">action</span></td>
|
| <td><p>Job to execute.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span></td>
|
| <td></td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_AffinityRunAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.AffinityRunAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_AffinityRunAsync_System_String_System_Object_Apache_Ignite_Core_Compute_IComputeAction_System_Threading_CancellationToken_" data-uid="Apache.Ignite.Core.Compute.ICompute.AffinityRunAsync(System.String,System.Object,Apache.Ignite.Core.Compute.IComputeAction,System.Threading.CancellationToken)">AffinityRunAsync(String, Object, IComputeAction, CancellationToken)</h4>
|
| <div class="markdown level1 summary"><p>Executes given job on the node where data for provided affinity key is located |
| (a.k.a. affinity co-location).</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task AffinityRunAsync(string cacheName, object affinityKey, IComputeAction action, CancellationToken cancellationToken)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.String</span></td>
|
| <td><span class="parametername">cacheName</span></td>
|
| <td><p>Name of the cache to use for affinity co-location.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Object</span></td>
|
| <td><span class="parametername">affinityKey</span></td>
|
| <td><p>Affinity key.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeAction.html">IComputeAction</a></td>
|
| <td><span class="parametername">action</span></td>
|
| <td><p>Job to execute.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Threading.CancellationToken</span></td>
|
| <td><span class="parametername">cancellationToken</span></td>
|
| <td><p>The cancellation token.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span></td>
|
| <td><p>Task.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_Apply_" data-uid="Apache.Ignite.Core.Compute.ICompute.Apply*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_Apply__2_Apache_Ignite_Core_Compute_IComputeFunc___0___1____0_" data-uid="Apache.Ignite.Core.Compute.ICompute.Apply``2(Apache.Ignite.Core.Compute.IComputeFunc{``0,``1},``0)">Apply<TArg, TRes>(IComputeFunc<TArg, TRes>, TArg)</h4>
|
| <div class="markdown level1 summary"><p>Executes provided closure job on a node in this grid projection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">TRes Apply<TArg, TRes>(IComputeFunc<TArg, TRes> clo, TArg arg)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-2.html">IComputeFunc</a><TArg, TRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to run.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">TArg</span></td>
|
| <td><span class="parametername">arg</span></td>
|
| <td><p>Job argument.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">TRes</span></td>
|
| <td><p>Job result for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TArg</span></td>
|
| <td><p>Type of argument.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_Apply_" data-uid="Apache.Ignite.Core.Compute.ICompute.Apply*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_Apply__2_Apache_Ignite_Core_Compute_IComputeFunc___0___1__System_Collections_Generic_IEnumerable___0__" data-uid="Apache.Ignite.Core.Compute.ICompute.Apply``2(Apache.Ignite.Core.Compute.IComputeFunc{``0,``1},System.Collections.Generic.IEnumerable{``0})">Apply<TArg, TRes>(IComputeFunc<TArg, TRes>, IEnumerable<TArg>)</h4>
|
| <div class="markdown level1 summary"><p>Executes provided closure job on nodes within this grid projection. A new job is executed for |
| every argument in the passed in collection. The number of actual job executions will be |
| equal to size of the job arguments collection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">ICollection<TRes> Apply<TArg, TRes>(IComputeFunc<TArg, TRes> clo, IEnumerable<TArg> args)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-2.html">IComputeFunc</a><TArg, TRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to run.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Collections.Generic.IEnumerable</span><TArg></td>
|
| <td><span class="parametername">args</span></td>
|
| <td><p>Job arguments.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Collections.Generic.ICollection</span><TRes></td>
|
| <td><p>Collection of job results.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TArg</span></td>
|
| <td><p>Type of argument.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_Apply_" data-uid="Apache.Ignite.Core.Compute.ICompute.Apply*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_Apply__3_Apache_Ignite_Core_Compute_IComputeFunc___0___1__System_Collections_Generic_IEnumerable___0__Apache_Ignite_Core_Compute_IComputeReducer___1___2__" data-uid="Apache.Ignite.Core.Compute.ICompute.Apply``3(Apache.Ignite.Core.Compute.IComputeFunc{``0,``1},System.Collections.Generic.IEnumerable{``0},Apache.Ignite.Core.Compute.IComputeReducer{``1,``2})">Apply<TArg, TFuncRes, TRes>(IComputeFunc<TArg, TFuncRes>, IEnumerable<TArg>, IComputeReducer<TFuncRes, TRes>)</h4>
|
| <div class="markdown level1 summary"><p>Executes provided closure job on nodes within this grid projection. A new job is executed for |
| every argument in the passed in collection. The number of actual job executions will be |
| equal to size of the job arguments collection. The returned job results will be reduced |
| into an individual result by provided reducer.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">TRes Apply<TArg, TFuncRes, TRes>(IComputeFunc<TArg, TFuncRes> clo, IEnumerable<TArg> args, IComputeReducer<TFuncRes, TRes> rdc)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-2.html">IComputeFunc</a><TArg, TFuncRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to run.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Collections.Generic.IEnumerable</span><TArg></td>
|
| <td><span class="parametername">args</span></td>
|
| <td><p>Job arguments.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeReducer-2.html">IComputeReducer</a><TFuncRes, TRes></td>
|
| <td><span class="parametername">rdc</span></td>
|
| <td><p>Reducer to reduce all job results into one individual return value.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">TRes</span></td>
|
| <td><p>Reduced job result for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TArg</span></td>
|
| <td><p>Type of argument.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TFuncRes</span></td>
|
| <td><p>Type of function result.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of result after reduce.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_ApplyAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.ApplyAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_ApplyAsync__2_Apache_Ignite_Core_Compute_IComputeFunc___0___1____0_" data-uid="Apache.Ignite.Core.Compute.ICompute.ApplyAsync``2(Apache.Ignite.Core.Compute.IComputeFunc{``0,``1},``0)">ApplyAsync<TArg, TRes>(IComputeFunc<TArg, TRes>, TArg)</h4>
|
| <div class="markdown level1 summary"><p>Executes provided closure job on a node in this grid projection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<TRes> ApplyAsync<TArg, TRes>(IComputeFunc<TArg, TRes> clo, TArg arg)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-2.html">IComputeFunc</a><TArg, TRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to run.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">TArg</span></td>
|
| <td><span class="parametername">arg</span></td>
|
| <td><p>Job argument.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><TRes></td>
|
| <td><p>Job result for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TArg</span></td>
|
| <td><p>Type of argument.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_ApplyAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.ApplyAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_ApplyAsync__2_Apache_Ignite_Core_Compute_IComputeFunc___0___1____0_System_Threading_CancellationToken_" data-uid="Apache.Ignite.Core.Compute.ICompute.ApplyAsync``2(Apache.Ignite.Core.Compute.IComputeFunc{``0,``1},``0,System.Threading.CancellationToken)">ApplyAsync<TArg, TRes>(IComputeFunc<TArg, TRes>, TArg, CancellationToken)</h4>
|
| <div class="markdown level1 summary"><p>Executes provided closure job on a node in this grid projection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<TRes> ApplyAsync<TArg, TRes>(IComputeFunc<TArg, TRes> clo, TArg arg, CancellationToken cancellationToken)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-2.html">IComputeFunc</a><TArg, TRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to run.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">TArg</span></td>
|
| <td><span class="parametername">arg</span></td>
|
| <td><p>Job argument.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Threading.CancellationToken</span></td>
|
| <td><span class="parametername">cancellationToken</span></td>
|
| <td><p>The cancellation token.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><TRes></td>
|
| <td><p>Job result for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TArg</span></td>
|
| <td><p>Type of argument.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_ApplyAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.ApplyAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_ApplyAsync__2_Apache_Ignite_Core_Compute_IComputeFunc___0___1__System_Collections_Generic_IEnumerable___0__" data-uid="Apache.Ignite.Core.Compute.ICompute.ApplyAsync``2(Apache.Ignite.Core.Compute.IComputeFunc{``0,``1},System.Collections.Generic.IEnumerable{``0})">ApplyAsync<TArg, TRes>(IComputeFunc<TArg, TRes>, IEnumerable<TArg>)</h4>
|
| <div class="markdown level1 summary"><p>Executes provided closure job on nodes within this grid projection. A new job is executed for |
| every argument in the passed in collection. The number of actual job executions will be |
| equal to size of the job arguments collection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<ICollection<TRes>> ApplyAsync<TArg, TRes>(IComputeFunc<TArg, TRes> clo, IEnumerable<TArg> args)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-2.html">IComputeFunc</a><TArg, TRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to run.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Collections.Generic.IEnumerable</span><TArg></td>
|
| <td><span class="parametername">args</span></td>
|
| <td><p>Job arguments.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><<span class="xref">System.Collections.Generic.ICollection</span><TRes>></td>
|
| <td><p>Collection of job results.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TArg</span></td>
|
| <td><p>Type of argument.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_ApplyAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.ApplyAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_ApplyAsync__2_Apache_Ignite_Core_Compute_IComputeFunc___0___1__System_Collections_Generic_IEnumerable___0__System_Threading_CancellationToken_" data-uid="Apache.Ignite.Core.Compute.ICompute.ApplyAsync``2(Apache.Ignite.Core.Compute.IComputeFunc{``0,``1},System.Collections.Generic.IEnumerable{``0},System.Threading.CancellationToken)">ApplyAsync<TArg, TRes>(IComputeFunc<TArg, TRes>, IEnumerable<TArg>, CancellationToken)</h4>
|
| <div class="markdown level1 summary"><p>Executes provided closure job on nodes within this grid projection. A new job is executed for |
| every argument in the passed in collection. The number of actual job executions will be |
| equal to size of the job arguments collection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<ICollection<TRes>> ApplyAsync<TArg, TRes>(IComputeFunc<TArg, TRes> clo, IEnumerable<TArg> args, CancellationToken cancellationToken)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-2.html">IComputeFunc</a><TArg, TRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to run.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Collections.Generic.IEnumerable</span><TArg></td>
|
| <td><span class="parametername">args</span></td>
|
| <td><p>Job arguments.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Threading.CancellationToken</span></td>
|
| <td><span class="parametername">cancellationToken</span></td>
|
| <td><p>The cancellation token.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><<span class="xref">System.Collections.Generic.ICollection</span><TRes>></td>
|
| <td><p>Collection of job results.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TArg</span></td>
|
| <td><p>Type of argument.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_ApplyAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.ApplyAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_ApplyAsync__3_Apache_Ignite_Core_Compute_IComputeFunc___0___1__System_Collections_Generic_IEnumerable___0__Apache_Ignite_Core_Compute_IComputeReducer___1___2__" data-uid="Apache.Ignite.Core.Compute.ICompute.ApplyAsync``3(Apache.Ignite.Core.Compute.IComputeFunc{``0,``1},System.Collections.Generic.IEnumerable{``0},Apache.Ignite.Core.Compute.IComputeReducer{``1,``2})">ApplyAsync<TArg, TFuncRes, TRes>(IComputeFunc<TArg, TFuncRes>, IEnumerable<TArg>, IComputeReducer<TFuncRes, TRes>)</h4>
|
| <div class="markdown level1 summary"><p>Executes provided closure job on nodes within this grid projection. A new job is executed for |
| every argument in the passed in collection. The number of actual job executions will be |
| equal to size of the job arguments collection. The returned job results will be reduced |
| into an individual result by provided reducer.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<TRes> ApplyAsync<TArg, TFuncRes, TRes>(IComputeFunc<TArg, TFuncRes> clo, IEnumerable<TArg> args, IComputeReducer<TFuncRes, TRes> rdc)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-2.html">IComputeFunc</a><TArg, TFuncRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to run.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Collections.Generic.IEnumerable</span><TArg></td>
|
| <td><span class="parametername">args</span></td>
|
| <td><p>Job arguments.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeReducer-2.html">IComputeReducer</a><TFuncRes, TRes></td>
|
| <td><span class="parametername">rdc</span></td>
|
| <td><p>Reducer to reduce all job results into one individual return value.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><TRes></td>
|
| <td><p>Reduced job result for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TArg</span></td>
|
| <td><p>Type of argument.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TFuncRes</span></td>
|
| <td><p>Type of function result.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of result after reduce.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_ApplyAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.ApplyAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_ApplyAsync__3_Apache_Ignite_Core_Compute_IComputeFunc___0___1__System_Collections_Generic_IEnumerable___0__Apache_Ignite_Core_Compute_IComputeReducer___1___2__System_Threading_CancellationToken_" data-uid="Apache.Ignite.Core.Compute.ICompute.ApplyAsync``3(Apache.Ignite.Core.Compute.IComputeFunc{``0,``1},System.Collections.Generic.IEnumerable{``0},Apache.Ignite.Core.Compute.IComputeReducer{``1,``2},System.Threading.CancellationToken)">ApplyAsync<TArg, TFuncRes, TRes>(IComputeFunc<TArg, TFuncRes>, IEnumerable<TArg>, IComputeReducer<TFuncRes, TRes>, CancellationToken)</h4>
|
| <div class="markdown level1 summary"><p>Executes provided closure job on nodes within this grid projection. A new job is executed for |
| every argument in the passed in collection. The number of actual job executions will be |
| equal to size of the job arguments collection. The returned job results will be reduced |
| into an individual result by provided reducer.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<TRes> ApplyAsync<TArg, TFuncRes, TRes>(IComputeFunc<TArg, TFuncRes> clo, IEnumerable<TArg> args, IComputeReducer<TFuncRes, TRes> rdc, CancellationToken cancellationToken)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-2.html">IComputeFunc</a><TArg, TFuncRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to run.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Collections.Generic.IEnumerable</span><TArg></td>
|
| <td><span class="parametername">args</span></td>
|
| <td><p>Job arguments.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeReducer-2.html">IComputeReducer</a><TFuncRes, TRes></td>
|
| <td><span class="parametername">rdc</span></td>
|
| <td><p>Reducer to reduce all job results into one individual return value.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Threading.CancellationToken</span></td>
|
| <td><span class="parametername">cancellationToken</span></td>
|
| <td><p>The cancellation token.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><TRes></td>
|
| <td><p>Reduced job result for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TArg</span></td>
|
| <td><p>Type of argument.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TFuncRes</span></td>
|
| <td><p>Type of function result.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of result after reduce.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_Broadcast_" data-uid="Apache.Ignite.Core.Compute.ICompute.Broadcast*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_Broadcast_Apache_Ignite_Core_Compute_IComputeAction_" data-uid="Apache.Ignite.Core.Compute.ICompute.Broadcast(Apache.Ignite.Core.Compute.IComputeAction)">Broadcast(IComputeAction)</h4>
|
| <div class="markdown level1 summary"><p>Broadcasts given job to all nodes in grid projection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">void Broadcast(IComputeAction action)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeAction.html">IComputeAction</a></td>
|
| <td><span class="parametername">action</span></td>
|
| <td><p>Job to broadcast to all projection nodes.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_Broadcast_" data-uid="Apache.Ignite.Core.Compute.ICompute.Broadcast*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_Broadcast__1_Apache_Ignite_Core_Compute_IComputeFunc___0__" data-uid="Apache.Ignite.Core.Compute.ICompute.Broadcast``1(Apache.Ignite.Core.Compute.IComputeFunc{``0})">Broadcast<TRes>(IComputeFunc<TRes>)</h4>
|
| <div class="markdown level1 summary"><p>Broadcasts given job to all nodes in grid projection. Every participating node will return a job result.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">ICollection<TRes> Broadcast<TRes>(IComputeFunc<TRes> clo)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-1.html">IComputeFunc</a><TRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to broadcast to all projection nodes.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Collections.Generic.ICollection</span><TRes></td>
|
| <td><p>Collection of results for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td></td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_Broadcast_" data-uid="Apache.Ignite.Core.Compute.ICompute.Broadcast*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_Broadcast__2_Apache_Ignite_Core_Compute_IComputeFunc___0___1____0_" data-uid="Apache.Ignite.Core.Compute.ICompute.Broadcast``2(Apache.Ignite.Core.Compute.IComputeFunc{``0,``1},``0)">Broadcast<TArg, TRes>(IComputeFunc<TArg, TRes>, TArg)</h4>
|
| <div class="markdown level1 summary"><p>Broadcasts given closure job with passed in argument to all nodes in grid projection. |
| Every participating node will return a job result.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">ICollection<TRes> Broadcast<TArg, TRes>(IComputeFunc<TArg, TRes> clo, TArg arg)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-2.html">IComputeFunc</a><TArg, TRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to broadcast to all projection nodes.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">TArg</span></td>
|
| <td><span class="parametername">arg</span></td>
|
| <td><p>Job closure argument.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Collections.Generic.ICollection</span><TRes></td>
|
| <td><p>Collection of results for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TArg</span></td>
|
| <td><p>Type of argument.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_BroadcastAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.BroadcastAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_BroadcastAsync_Apache_Ignite_Core_Compute_IComputeAction_" data-uid="Apache.Ignite.Core.Compute.ICompute.BroadcastAsync(Apache.Ignite.Core.Compute.IComputeAction)">BroadcastAsync(IComputeAction)</h4>
|
| <div class="markdown level1 summary"><p>Broadcasts given job to all nodes in grid projection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task BroadcastAsync(IComputeAction action)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeAction.html">IComputeAction</a></td>
|
| <td><span class="parametername">action</span></td>
|
| <td><p>Job to broadcast to all projection nodes.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span></td>
|
| <td></td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_BroadcastAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.BroadcastAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_BroadcastAsync_Apache_Ignite_Core_Compute_IComputeAction_System_Threading_CancellationToken_" data-uid="Apache.Ignite.Core.Compute.ICompute.BroadcastAsync(Apache.Ignite.Core.Compute.IComputeAction,System.Threading.CancellationToken)">BroadcastAsync(IComputeAction, CancellationToken)</h4>
|
| <div class="markdown level1 summary"><p>Broadcasts given job to all nodes in grid projection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task BroadcastAsync(IComputeAction action, CancellationToken cancellationToken)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeAction.html">IComputeAction</a></td>
|
| <td><span class="parametername">action</span></td>
|
| <td><p>Job to broadcast to all projection nodes.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Threading.CancellationToken</span></td>
|
| <td><span class="parametername">cancellationToken</span></td>
|
| <td><p>The cancellation token.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span></td>
|
| <td><p>Task.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_BroadcastAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.BroadcastAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_BroadcastAsync__1_Apache_Ignite_Core_Compute_IComputeFunc___0__" data-uid="Apache.Ignite.Core.Compute.ICompute.BroadcastAsync``1(Apache.Ignite.Core.Compute.IComputeFunc{``0})">BroadcastAsync<TRes>(IComputeFunc<TRes>)</h4>
|
| <div class="markdown level1 summary"><p>Broadcasts given job to all nodes in grid projection. Every participating node will return a job result.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<ICollection<TRes>> BroadcastAsync<TRes>(IComputeFunc<TRes> clo)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-1.html">IComputeFunc</a><TRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to broadcast to all projection nodes.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><<span class="xref">System.Collections.Generic.ICollection</span><TRes>></td>
|
| <td><p>Collection of results for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td></td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_BroadcastAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.BroadcastAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_BroadcastAsync__1_Apache_Ignite_Core_Compute_IComputeFunc___0__System_Threading_CancellationToken_" data-uid="Apache.Ignite.Core.Compute.ICompute.BroadcastAsync``1(Apache.Ignite.Core.Compute.IComputeFunc{``0},System.Threading.CancellationToken)">BroadcastAsync<TRes>(IComputeFunc<TRes>, CancellationToken)</h4>
|
| <div class="markdown level1 summary"><p>Broadcasts given job to all nodes in grid projection. Every participating node will return a job result.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<ICollection<TRes>> BroadcastAsync<TRes>(IComputeFunc<TRes> clo, CancellationToken cancellationToken)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-1.html">IComputeFunc</a><TRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to broadcast to all projection nodes.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Threading.CancellationToken</span></td>
|
| <td><span class="parametername">cancellationToken</span></td>
|
| <td><p>The cancellation token.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><<span class="xref">System.Collections.Generic.ICollection</span><TRes>></td>
|
| <td><p>Collection of results for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>The type of the resource.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_BroadcastAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.BroadcastAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_BroadcastAsync__2_Apache_Ignite_Core_Compute_IComputeFunc___0___1____0_" data-uid="Apache.Ignite.Core.Compute.ICompute.BroadcastAsync``2(Apache.Ignite.Core.Compute.IComputeFunc{``0,``1},``0)">BroadcastAsync<TArg, TRes>(IComputeFunc<TArg, TRes>, TArg)</h4>
|
| <div class="markdown level1 summary"><p>Broadcasts given closure job with passed in argument to all nodes in grid projection. |
| Every participating node will return a job result.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<ICollection<TRes>> BroadcastAsync<TArg, TRes>(IComputeFunc<TArg, TRes> clo, TArg arg)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-2.html">IComputeFunc</a><TArg, TRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to broadcast to all projection nodes.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">TArg</span></td>
|
| <td><span class="parametername">arg</span></td>
|
| <td><p>Job closure argument.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><<span class="xref">System.Collections.Generic.ICollection</span><TRes>></td>
|
| <td><p>Collection of results for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TArg</span></td>
|
| <td><p>Type of argument.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_BroadcastAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.BroadcastAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_BroadcastAsync__2_Apache_Ignite_Core_Compute_IComputeFunc___0___1____0_System_Threading_CancellationToken_" data-uid="Apache.Ignite.Core.Compute.ICompute.BroadcastAsync``2(Apache.Ignite.Core.Compute.IComputeFunc{``0,``1},``0,System.Threading.CancellationToken)">BroadcastAsync<TArg, TRes>(IComputeFunc<TArg, TRes>, TArg, CancellationToken)</h4>
|
| <div class="markdown level1 summary"><p>Broadcasts given closure job with passed in argument to all nodes in grid projection. |
| Every participating node will return a job result.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<ICollection<TRes>> BroadcastAsync<TArg, TRes>(IComputeFunc<TArg, TRes> clo, TArg arg, CancellationToken cancellationToken)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-2.html">IComputeFunc</a><TArg, TRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to broadcast to all projection nodes.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">TArg</span></td>
|
| <td><span class="parametername">arg</span></td>
|
| <td><p>Job closure argument.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Threading.CancellationToken</span></td>
|
| <td><span class="parametername">cancellationToken</span></td>
|
| <td><p>The cancellation token.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><<span class="xref">System.Collections.Generic.ICollection</span><TRes>></td>
|
| <td><p>Collection of results for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TArg</span></td>
|
| <td><p>Type of argument.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_Call_" data-uid="Apache.Ignite.Core.Compute.ICompute.Call*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_Call__1_Apache_Ignite_Core_Compute_IComputeFunc___0__" data-uid="Apache.Ignite.Core.Compute.ICompute.Call``1(Apache.Ignite.Core.Compute.IComputeFunc{``0})">Call<TRes>(IComputeFunc<TRes>)</h4>
|
| <div class="markdown level1 summary"><p>Executes provided job on a node in this grid projection. The result of the |
| job execution is returned from the result closure.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">TRes Call<TRes>(IComputeFunc<TRes> clo)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-1.html">IComputeFunc</a><TRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to execute.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">TRes</span></td>
|
| <td><p>Job result for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_Call_" data-uid="Apache.Ignite.Core.Compute.ICompute.Call*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_Call__1_System_Collections_Generic_IEnumerable_Apache_Ignite_Core_Compute_IComputeFunc___0___" data-uid="Apache.Ignite.Core.Compute.ICompute.Call``1(System.Collections.Generic.IEnumerable{Apache.Ignite.Core.Compute.IComputeFunc{``0}})">Call<TRes>(IEnumerable<IComputeFunc<TRes>>)</h4>
|
| <div class="markdown level1 summary"><p>Executes collection of jobs on nodes within this grid projection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">ICollection<TRes> Call<TRes>(IEnumerable<IComputeFunc<TRes>> clos)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Collections.Generic.IEnumerable</span><<a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-1.html">IComputeFunc</a><TRes>></td>
|
| <td><span class="parametername">clos</span></td>
|
| <td><p>Collection of jobs to execute.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Collections.Generic.ICollection</span><TRes></td>
|
| <td><p>Collection of job results for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_Call_" data-uid="Apache.Ignite.Core.Compute.ICompute.Call*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_Call__2_System_Collections_Generic_IEnumerable_Apache_Ignite_Core_Compute_IComputeFunc___0___Apache_Ignite_Core_Compute_IComputeReducer___0___1__" data-uid="Apache.Ignite.Core.Compute.ICompute.Call``2(System.Collections.Generic.IEnumerable{Apache.Ignite.Core.Compute.IComputeFunc{``0}},Apache.Ignite.Core.Compute.IComputeReducer{``0,``1})">Call<TFuncRes, TRes>(IEnumerable<IComputeFunc<TFuncRes>>, IComputeReducer<TFuncRes, TRes>)</h4>
|
| <div class="markdown level1 summary"><p>Executes collection of jobs on nodes within this grid projection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">TRes Call<TFuncRes, TRes>(IEnumerable<IComputeFunc<TFuncRes>> clos, IComputeReducer<TFuncRes, TRes> reducer)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Collections.Generic.IEnumerable</span><<a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-1.html">IComputeFunc</a><TFuncRes>></td>
|
| <td><span class="parametername">clos</span></td>
|
| <td><p>Collection of jobs to execute.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeReducer-2.html">IComputeReducer</a><TFuncRes, TRes></td>
|
| <td><span class="parametername">reducer</span></td>
|
| <td><p>Reducer to reduce all job results into one individual return value.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">TRes</span></td>
|
| <td><p>Reduced job result for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TFuncRes</span></td>
|
| <td><p>Type of function result.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of result after reduce.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_CallAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.CallAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_CallAsync__1_Apache_Ignite_Core_Compute_IComputeFunc___0__" data-uid="Apache.Ignite.Core.Compute.ICompute.CallAsync``1(Apache.Ignite.Core.Compute.IComputeFunc{``0})">CallAsync<TRes>(IComputeFunc<TRes>)</h4>
|
| <div class="markdown level1 summary"><p>Executes provided job on a node in this grid projection. The result of the |
| job execution is returned from the result closure.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<TRes> CallAsync<TRes>(IComputeFunc<TRes> clo)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-1.html">IComputeFunc</a><TRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to execute.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><TRes></td>
|
| <td><p>Job result for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_CallAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.CallAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_CallAsync__1_Apache_Ignite_Core_Compute_IComputeFunc___0__System_Threading_CancellationToken_" data-uid="Apache.Ignite.Core.Compute.ICompute.CallAsync``1(Apache.Ignite.Core.Compute.IComputeFunc{``0},System.Threading.CancellationToken)">CallAsync<TRes>(IComputeFunc<TRes>, CancellationToken)</h4>
|
| <div class="markdown level1 summary"><p>Executes provided job on a node in this grid projection. The result of the |
| job execution is returned from the result closure.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<TRes> CallAsync<TRes>(IComputeFunc<TRes> clo, CancellationToken cancellationToken)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-1.html">IComputeFunc</a><TRes></td>
|
| <td><span class="parametername">clo</span></td>
|
| <td><p>Job to execute.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Threading.CancellationToken</span></td>
|
| <td><span class="parametername">cancellationToken</span></td>
|
| <td><p>The cancellation token.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><TRes></td>
|
| <td><p>Job result for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_CallAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.CallAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_CallAsync__1_System_Collections_Generic_IEnumerable_Apache_Ignite_Core_Compute_IComputeFunc___0___" data-uid="Apache.Ignite.Core.Compute.ICompute.CallAsync``1(System.Collections.Generic.IEnumerable{Apache.Ignite.Core.Compute.IComputeFunc{``0}})">CallAsync<TRes>(IEnumerable<IComputeFunc<TRes>>)</h4>
|
| <div class="markdown level1 summary"><p>Executes collection of jobs on nodes within this grid projection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<ICollection<TRes>> CallAsync<TRes>(IEnumerable<IComputeFunc<TRes>> clos)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Collections.Generic.IEnumerable</span><<a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-1.html">IComputeFunc</a><TRes>></td>
|
| <td><span class="parametername">clos</span></td>
|
| <td><p>Collection of jobs to execute.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><<span class="xref">System.Collections.Generic.ICollection</span><TRes>></td>
|
| <td><p>Collection of job results for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_CallAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.CallAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_CallAsync__1_System_Collections_Generic_IEnumerable_Apache_Ignite_Core_Compute_IComputeFunc___0___System_Threading_CancellationToken_" data-uid="Apache.Ignite.Core.Compute.ICompute.CallAsync``1(System.Collections.Generic.IEnumerable{Apache.Ignite.Core.Compute.IComputeFunc{``0}},System.Threading.CancellationToken)">CallAsync<TRes>(IEnumerable<IComputeFunc<TRes>>, CancellationToken)</h4>
|
| <div class="markdown level1 summary"><p>Executes collection of jobs on nodes within this grid projection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<ICollection<TRes>> CallAsync<TRes>(IEnumerable<IComputeFunc<TRes>> clos, CancellationToken cancellationToken)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Collections.Generic.IEnumerable</span><<a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-1.html">IComputeFunc</a><TRes>></td>
|
| <td><span class="parametername">clos</span></td>
|
| <td><p>Collection of jobs to execute.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Threading.CancellationToken</span></td>
|
| <td><span class="parametername">cancellationToken</span></td>
|
| <td><p>The cancellation token.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><<span class="xref">System.Collections.Generic.ICollection</span><TRes>></td>
|
| <td><p>Collection of job results for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_CallAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.CallAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_CallAsync__2_System_Collections_Generic_IEnumerable_Apache_Ignite_Core_Compute_IComputeFunc___0___Apache_Ignite_Core_Compute_IComputeReducer___0___1__" data-uid="Apache.Ignite.Core.Compute.ICompute.CallAsync``2(System.Collections.Generic.IEnumerable{Apache.Ignite.Core.Compute.IComputeFunc{``0}},Apache.Ignite.Core.Compute.IComputeReducer{``0,``1})">CallAsync<TFuncRes, TRes>(IEnumerable<IComputeFunc<TFuncRes>>, IComputeReducer<TFuncRes, TRes>)</h4>
|
| <div class="markdown level1 summary"><p>Executes collection of jobs on nodes within this grid projection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<TRes> CallAsync<TFuncRes, TRes>(IEnumerable<IComputeFunc<TFuncRes>> clos, IComputeReducer<TFuncRes, TRes> reducer)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Collections.Generic.IEnumerable</span><<a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-1.html">IComputeFunc</a><TFuncRes>></td>
|
| <td><span class="parametername">clos</span></td>
|
| <td><p>Collection of jobs to execute.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeReducer-2.html">IComputeReducer</a><TFuncRes, TRes></td>
|
| <td><span class="parametername">reducer</span></td>
|
| <td><p>Reducer to reduce all job results into one individual return value.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><TRes></td>
|
| <td><p>Reduced job result for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TFuncRes</span></td>
|
| <td><p>Type of function result.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of result after reduce.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_CallAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.CallAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_CallAsync__2_System_Collections_Generic_IEnumerable_Apache_Ignite_Core_Compute_IComputeFunc___0___Apache_Ignite_Core_Compute_IComputeReducer___0___1__System_Threading_CancellationToken_" data-uid="Apache.Ignite.Core.Compute.ICompute.CallAsync``2(System.Collections.Generic.IEnumerable{Apache.Ignite.Core.Compute.IComputeFunc{``0}},Apache.Ignite.Core.Compute.IComputeReducer{``0,``1},System.Threading.CancellationToken)">CallAsync<TFuncRes, TRes>(IEnumerable<IComputeFunc<TFuncRes>>, IComputeReducer<TFuncRes, TRes>, CancellationToken)</h4>
|
| <div class="markdown level1 summary"><p>Executes collection of jobs on nodes within this grid projection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<TRes> CallAsync<TFuncRes, TRes>(IEnumerable<IComputeFunc<TFuncRes>> clos, IComputeReducer<TFuncRes, TRes> reducer, CancellationToken cancellationToken)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Collections.Generic.IEnumerable</span><<a class="xref" href="Apache.Ignite.Core.Compute.IComputeFunc-1.html">IComputeFunc</a><TFuncRes>></td>
|
| <td><span class="parametername">clos</span></td>
|
| <td><p>Collection of jobs to execute.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeReducer-2.html">IComputeReducer</a><TFuncRes, TRes></td>
|
| <td><span class="parametername">reducer</span></td>
|
| <td><p>Reducer to reduce all job results into one individual return value.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Threading.CancellationToken</span></td>
|
| <td><span class="parametername">cancellationToken</span></td>
|
| <td><p>The cancellation token.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><TRes></td>
|
| <td><p>Reduced job result for this execution.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TFuncRes</span></td>
|
| <td><p>Type of function result.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of result after reduce.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_Execute_" data-uid="Apache.Ignite.Core.Compute.ICompute.Execute*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_Execute__2_Apache_Ignite_Core_Compute_IComputeTask___0___1__" data-uid="Apache.Ignite.Core.Compute.ICompute.Execute``2(Apache.Ignite.Core.Compute.IComputeTask{``0,``1})">Execute<TJobRes, TRes>(IComputeTask<TJobRes, TRes>)</h4>
|
| <div class="markdown level1 summary"><p>Executes given task on the grid projection. For step-by-step explanation of task execution process |
| refer to <a class="xref" href="Apache.Ignite.Core.Compute.IComputeTask-3.html">IComputeTask<TArg, TJobRes, TRes></a> documentation.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">TRes Execute<TJobRes, TRes>(IComputeTask<TJobRes, TRes> task)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeTask-2.html">IComputeTask</a><TJobRes, TRes></td>
|
| <td><span class="parametername">task</span></td>
|
| <td><p>Task to execute.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">TRes</span></td>
|
| <td><p>Task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TJobRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of reduce result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_Execute_" data-uid="Apache.Ignite.Core.Compute.ICompute.Execute*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_Execute__2_System_Type_" data-uid="Apache.Ignite.Core.Compute.ICompute.Execute``2(System.Type)">Execute<TJobRes, TRes>(Type)</h4>
|
| <div class="markdown level1 summary"><p>Executes given task on the grid projection. For step-by-step explanation of task execution process |
| refer to <a class="xref" href="Apache.Ignite.Core.Compute.IComputeTask-3.html">IComputeTask<TArg, TJobRes, TRes></a> documentation.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">TRes Execute<TJobRes, TRes>(Type taskType)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Type</span></td>
|
| <td><span class="parametername">taskType</span></td>
|
| <td><p>Task type.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">TRes</span></td>
|
| <td><p>Task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TJobRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of reduce result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_Execute_" data-uid="Apache.Ignite.Core.Compute.ICompute.Execute*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_Execute__3_Apache_Ignite_Core_Compute_IComputeTask___0___1___2____0_" data-uid="Apache.Ignite.Core.Compute.ICompute.Execute``3(Apache.Ignite.Core.Compute.IComputeTask{``0,``1,``2},``0)">Execute<TArg, TJobRes, TRes>(IComputeTask<TArg, TJobRes, TRes>, TArg)</h4>
|
| <div class="markdown level1 summary"><p>Executes given task on the grid projection. For step-by-step explanation of task execution process |
| refer to <a class="xref" href="Apache.Ignite.Core.Compute.IComputeTask-3.html">IComputeTask<TArg, TJobRes, TRes></a> documentation.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">TRes Execute<TArg, TJobRes, TRes>(IComputeTask<TArg, TJobRes, TRes> task, TArg taskArg)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeTask-3.html">IComputeTask</a><TArg, TJobRes, TRes></td>
|
| <td><span class="parametername">task</span></td>
|
| <td><p>Task to execute.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">TArg</span></td>
|
| <td><span class="parametername">taskArg</span></td>
|
| <td><p>Optional task argument.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">TRes</span></td>
|
| <td><p>Task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TArg</span></td>
|
| <td><p>Argument type.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TJobRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of final task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_Execute_" data-uid="Apache.Ignite.Core.Compute.ICompute.Execute*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_Execute__3_System_Type___0_" data-uid="Apache.Ignite.Core.Compute.ICompute.Execute``3(System.Type,``0)">Execute<TArg, TJobRes, TRes>(Type, TArg)</h4>
|
| <div class="markdown level1 summary"><p>Executes given task on the grid projection. For step-by-step explanation of task execution process |
| refer to <a class="xref" href="Apache.Ignite.Core.Compute.IComputeTask-3.html">IComputeTask<TArg, TJobRes, TRes></a> documentation.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">TRes Execute<TArg, TJobRes, TRes>(Type taskType, TArg taskArg)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Type</span></td>
|
| <td><span class="parametername">taskType</span></td>
|
| <td><p>Task type.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">TArg</span></td>
|
| <td><span class="parametername">taskArg</span></td>
|
| <td><p>Optional task argument.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">TRes</span></td>
|
| <td><p>Task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TArg</span></td>
|
| <td><p>Argument type.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TJobRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of reduce result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_ExecuteAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_ExecuteAsync__2_Apache_Ignite_Core_Compute_IComputeTask___0___1__" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteAsync``2(Apache.Ignite.Core.Compute.IComputeTask{``0,``1})">ExecuteAsync<TJobRes, TRes>(IComputeTask<TJobRes, TRes>)</h4>
|
| <div class="markdown level1 summary"><p>Executes given task on the grid projection. For step-by-step explanation of task execution process |
| refer to <a class="xref" href="Apache.Ignite.Core.Compute.IComputeTask-3.html">IComputeTask<TArg, TJobRes, TRes></a> documentation.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<TRes> ExecuteAsync<TJobRes, TRes>(IComputeTask<TJobRes, TRes> task)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeTask-2.html">IComputeTask</a><TJobRes, TRes></td>
|
| <td><span class="parametername">task</span></td>
|
| <td><p>Task to execute.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><TRes></td>
|
| <td><p>Task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TJobRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of reduce result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_ExecuteAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_ExecuteAsync__2_Apache_Ignite_Core_Compute_IComputeTask___0___1__System_Threading_CancellationToken_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteAsync``2(Apache.Ignite.Core.Compute.IComputeTask{``0,``1},System.Threading.CancellationToken)">ExecuteAsync<TJobRes, TRes>(IComputeTask<TJobRes, TRes>, CancellationToken)</h4>
|
| <div class="markdown level1 summary"><p>Executes given task on the grid projection. For step-by-step explanation of task execution process |
| refer to <a class="xref" href="Apache.Ignite.Core.Compute.IComputeTask-3.html">IComputeTask<TArg, TJobRes, TRes></a> documentation.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<TRes> ExecuteAsync<TJobRes, TRes>(IComputeTask<TJobRes, TRes> task, CancellationToken cancellationToken)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeTask-2.html">IComputeTask</a><TJobRes, TRes></td>
|
| <td><span class="parametername">task</span></td>
|
| <td><p>Task to execute.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Threading.CancellationToken</span></td>
|
| <td><span class="parametername">cancellationToken</span></td>
|
| <td><p>The cancellation token.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><TRes></td>
|
| <td><p>Task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TJobRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of reduce result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_ExecuteAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_ExecuteAsync__2_System_Type_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteAsync``2(System.Type)">ExecuteAsync<TJobRes, TRes>(Type)</h4>
|
| <div class="markdown level1 summary"><p>Executes given task on the grid projection. For step-by-step explanation of task execution process |
| refer to <a class="xref" href="Apache.Ignite.Core.Compute.IComputeTask-3.html">IComputeTask<TArg, TJobRes, TRes></a> documentation.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<TRes> ExecuteAsync<TJobRes, TRes>(Type taskType)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Type</span></td>
|
| <td><span class="parametername">taskType</span></td>
|
| <td><p>Task type.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><TRes></td>
|
| <td><p>Task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TJobRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of reduce result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_ExecuteAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_ExecuteAsync__2_System_Type_System_Threading_CancellationToken_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteAsync``2(System.Type,System.Threading.CancellationToken)">ExecuteAsync<TJobRes, TRes>(Type, CancellationToken)</h4>
|
| <div class="markdown level1 summary"><p>Executes given task on the grid projection. For step-by-step explanation of task execution process |
| refer to <a class="xref" href="Apache.Ignite.Core.Compute.IComputeTask-3.html">IComputeTask<TArg, TJobRes, TRes></a> documentation.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<TRes> ExecuteAsync<TJobRes, TRes>(Type taskType, CancellationToken cancellationToken)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Type</span></td>
|
| <td><span class="parametername">taskType</span></td>
|
| <td><p>Task type.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Threading.CancellationToken</span></td>
|
| <td><span class="parametername">cancellationToken</span></td>
|
| <td><p>The cancellation token.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><TRes></td>
|
| <td><p>Task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TJobRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of reduce result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_ExecuteAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_ExecuteAsync__3_Apache_Ignite_Core_Compute_IComputeTask___0___1___2____0_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteAsync``3(Apache.Ignite.Core.Compute.IComputeTask{``0,``1,``2},``0)">ExecuteAsync<TArg, TJobRes, TRes>(IComputeTask<TArg, TJobRes, TRes>, TArg)</h4>
|
| <div class="markdown level1 summary"><p>Executes given task on the grid projection. For step-by-step explanation of task execution process |
| refer to <a class="xref" href="Apache.Ignite.Core.Compute.IComputeTask-3.html">IComputeTask<TArg, TJobRes, TRes></a> documentation.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<TRes> ExecuteAsync<TArg, TJobRes, TRes>(IComputeTask<TArg, TJobRes, TRes> task, TArg taskArg)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeTask-3.html">IComputeTask</a><TArg, TJobRes, TRes></td>
|
| <td><span class="parametername">task</span></td>
|
| <td><p>Task to execute.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">TArg</span></td>
|
| <td><span class="parametername">taskArg</span></td>
|
| <td><p>Optional task argument.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><TRes></td>
|
| <td><p>Task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TArg</span></td>
|
| <td><p>Argument type.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TJobRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of final task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_ExecuteAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_ExecuteAsync__3_Apache_Ignite_Core_Compute_IComputeTask___0___1___2____0_System_Threading_CancellationToken_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteAsync``3(Apache.Ignite.Core.Compute.IComputeTask{``0,``1,``2},``0,System.Threading.CancellationToken)">ExecuteAsync<TArg, TJobRes, TRes>(IComputeTask<TArg, TJobRes, TRes>, TArg, CancellationToken)</h4>
|
| <div class="markdown level1 summary"><p>Executes given task on the grid projection. For step-by-step explanation of task execution process |
| refer to <a class="xref" href="Apache.Ignite.Core.Compute.IComputeTask-3.html">IComputeTask<TArg, TJobRes, TRes></a> documentation.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<TRes> ExecuteAsync<TArg, TJobRes, TRes>(IComputeTask<TArg, TJobRes, TRes> task, TArg taskArg, CancellationToken cancellationToken)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeTask-3.html">IComputeTask</a><TArg, TJobRes, TRes></td>
|
| <td><span class="parametername">task</span></td>
|
| <td><p>Task to execute.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">TArg</span></td>
|
| <td><span class="parametername">taskArg</span></td>
|
| <td><p>Optional task argument.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Threading.CancellationToken</span></td>
|
| <td><span class="parametername">cancellationToken</span></td>
|
| <td><p>The cancellation token.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><TRes></td>
|
| <td><p>Task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TArg</span></td>
|
| <td><p>Argument type.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TJobRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of final task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_ExecuteAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_ExecuteAsync__3_System_Type___0_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteAsync``3(System.Type,``0)">ExecuteAsync<TArg, TJobRes, TRes>(Type, TArg)</h4>
|
| <div class="markdown level1 summary"><p>Executes given task on the grid projection. For step-by-step explanation of task execution process |
| refer to <a class="xref" href="Apache.Ignite.Core.Compute.IComputeTask-3.html">IComputeTask<TArg, TJobRes, TRes></a> documentation.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<TRes> ExecuteAsync<TArg, TJobRes, TRes>(Type taskType, TArg taskArg)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Type</span></td>
|
| <td><span class="parametername">taskType</span></td>
|
| <td><p>Task type.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">TArg</span></td>
|
| <td><span class="parametername">taskArg</span></td>
|
| <td><p>Optional task argument.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><TRes></td>
|
| <td><p>Task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TArg</span></td>
|
| <td><p>Argument type.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TJobRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of reduce result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_ExecuteAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_ExecuteAsync__3_System_Type___0_System_Threading_CancellationToken_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteAsync``3(System.Type,``0,System.Threading.CancellationToken)">ExecuteAsync<TArg, TJobRes, TRes>(Type, TArg, CancellationToken)</h4>
|
| <div class="markdown level1 summary"><p>Executes given task on the grid projection. For step-by-step explanation of task execution process |
| refer to <a class="xref" href="Apache.Ignite.Core.Compute.IComputeTask-3.html">IComputeTask<TArg, TJobRes, TRes></a> documentation.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<TRes> ExecuteAsync<TArg, TJobRes, TRes>(Type taskType, TArg taskArg, CancellationToken cancellationToken)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Type</span></td>
|
| <td><span class="parametername">taskType</span></td>
|
| <td><p>Task type.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">TArg</span></td>
|
| <td><span class="parametername">taskArg</span></td>
|
| <td><p>Optional task argument.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Threading.CancellationToken</span></td>
|
| <td><span class="parametername">cancellationToken</span></td>
|
| <td><p>The cancellation token.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><TRes></td>
|
| <td><p>Task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TArg</span></td>
|
| <td><p>Argument type.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TJobRes</span></td>
|
| <td><p>Type of job result.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of reduce result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_ExecuteJavaTask_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteJavaTask*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_ExecuteJavaTask__1_System_String_System_Object_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteJavaTask``1(System.String,System.Object)">ExecuteJavaTask<TRes>(String, Object)</h4>
|
| <div class="markdown level1 summary"><p>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.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">TRes ExecuteJavaTask<TRes>(string taskName, object taskArg)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.String</span></td>
|
| <td><span class="parametername">taskName</span></td>
|
| <td><p>Java task name</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Object</span></td>
|
| <td><span class="parametername">taskArg</span></td>
|
| <td><p>Optional argument of task execution, can be null.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">TRes</span></td>
|
| <td><p>Task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_ExecuteJavaTaskAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteJavaTaskAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_ExecuteJavaTaskAsync__1_System_String_System_Object_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteJavaTaskAsync``1(System.String,System.Object)">ExecuteJavaTaskAsync<TRes>(String, Object)</h4>
|
| <div class="markdown level1 summary"><p>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.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<TRes> ExecuteJavaTaskAsync<TRes>(string taskName, object taskArg)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.String</span></td>
|
| <td><span class="parametername">taskName</span></td>
|
| <td><p>Java task name</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Object</span></td>
|
| <td><span class="parametername">taskArg</span></td>
|
| <td><p>Optional argument of task execution, can be null.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><TRes></td>
|
| <td><p>Task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_ExecuteJavaTaskAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteJavaTaskAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_ExecuteJavaTaskAsync__1_System_String_System_Object_System_Threading_CancellationToken_" data-uid="Apache.Ignite.Core.Compute.ICompute.ExecuteJavaTaskAsync``1(System.String,System.Object,System.Threading.CancellationToken)">ExecuteJavaTaskAsync<TRes>(String, Object, CancellationToken)</h4>
|
| <div class="markdown level1 summary"><p>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.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task<TRes> ExecuteJavaTaskAsync<TRes>(string taskName, object taskArg, CancellationToken cancellationToken)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.String</span></td>
|
| <td><span class="parametername">taskName</span></td>
|
| <td><p>Java task name</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Object</span></td>
|
| <td><span class="parametername">taskArg</span></td>
|
| <td><p>Optional argument of task execution, can be null.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Threading.CancellationToken</span></td>
|
| <td><span class="parametername">cancellationToken</span></td>
|
| <td><p>The cancellation token.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span><TRes></td>
|
| <td><p>Task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="typeParameters">Type Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="parametername">TRes</span></td>
|
| <td><p>Type of task result.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_Run_" data-uid="Apache.Ignite.Core.Compute.ICompute.Run*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_Run_Apache_Ignite_Core_Compute_IComputeAction_" data-uid="Apache.Ignite.Core.Compute.ICompute.Run(Apache.Ignite.Core.Compute.IComputeAction)">Run(IComputeAction)</h4>
|
| <div class="markdown level1 summary"><p>Executes provided job on a node in this grid projection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">void Run(IComputeAction action)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeAction.html">IComputeAction</a></td>
|
| <td><span class="parametername">action</span></td>
|
| <td><p>Job to execute.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_Run_" data-uid="Apache.Ignite.Core.Compute.ICompute.Run*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_Run_System_Collections_Generic_IEnumerable_Apache_Ignite_Core_Compute_IComputeAction__" data-uid="Apache.Ignite.Core.Compute.ICompute.Run(System.Collections.Generic.IEnumerable{Apache.Ignite.Core.Compute.IComputeAction})">Run(IEnumerable<IComputeAction>)</h4>
|
| <div class="markdown level1 summary"><p>Executes collection of jobs on Ignite nodes within this grid projection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">void Run(IEnumerable<IComputeAction> actions)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Collections.Generic.IEnumerable</span><<a class="xref" href="Apache.Ignite.Core.Compute.IComputeAction.html">IComputeAction</a>></td>
|
| <td><span class="parametername">actions</span></td>
|
| <td><p>Jobs to execute.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_RunAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.RunAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_RunAsync_Apache_Ignite_Core_Compute_IComputeAction_" data-uid="Apache.Ignite.Core.Compute.ICompute.RunAsync(Apache.Ignite.Core.Compute.IComputeAction)">RunAsync(IComputeAction)</h4>
|
| <div class="markdown level1 summary"><p>Executes provided job on a node in this grid projection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task RunAsync(IComputeAction action)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeAction.html">IComputeAction</a></td>
|
| <td><span class="parametername">action</span></td>
|
| <td><p>Job to execute.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span></td>
|
| <td></td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_RunAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.RunAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_RunAsync_Apache_Ignite_Core_Compute_IComputeAction_System_Threading_CancellationToken_" data-uid="Apache.Ignite.Core.Compute.ICompute.RunAsync(Apache.Ignite.Core.Compute.IComputeAction,System.Threading.CancellationToken)">RunAsync(IComputeAction, CancellationToken)</h4>
|
| <div class="markdown level1 summary"><p>Executes provided job on a node in this grid projection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task RunAsync(IComputeAction action, CancellationToken cancellationToken)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.IComputeAction.html">IComputeAction</a></td>
|
| <td><span class="parametername">action</span></td>
|
| <td><p>Job to execute.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Threading.CancellationToken</span></td>
|
| <td><span class="parametername">cancellationToken</span></td>
|
| <td><p>The cancellation token.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span></td>
|
| <td></td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_RunAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.RunAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_RunAsync_System_Collections_Generic_IEnumerable_Apache_Ignite_Core_Compute_IComputeAction__" data-uid="Apache.Ignite.Core.Compute.ICompute.RunAsync(System.Collections.Generic.IEnumerable{Apache.Ignite.Core.Compute.IComputeAction})">RunAsync(IEnumerable<IComputeAction>)</h4>
|
| <div class="markdown level1 summary"><p>Executes collection of jobs on Ignite nodes within this grid projection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task RunAsync(IEnumerable<IComputeAction> actions)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Collections.Generic.IEnumerable</span><<a class="xref" href="Apache.Ignite.Core.Compute.IComputeAction.html">IComputeAction</a>></td>
|
| <td><span class="parametername">actions</span></td>
|
| <td><p>Jobs to execute.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span></td>
|
| <td></td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_RunAsync_" data-uid="Apache.Ignite.Core.Compute.ICompute.RunAsync*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_RunAsync_System_Collections_Generic_IEnumerable_Apache_Ignite_Core_Compute_IComputeAction__System_Threading_CancellationToken_" data-uid="Apache.Ignite.Core.Compute.ICompute.RunAsync(System.Collections.Generic.IEnumerable{Apache.Ignite.Core.Compute.IComputeAction},System.Threading.CancellationToken)">RunAsync(IEnumerable<IComputeAction>, CancellationToken)</h4>
|
| <div class="markdown level1 summary"><p>Executes collection of jobs on Ignite nodes within this grid projection.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">Task RunAsync(IEnumerable<IComputeAction> actions, CancellationToken cancellationToken)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Collections.Generic.IEnumerable</span><<a class="xref" href="Apache.Ignite.Core.Compute.IComputeAction.html">IComputeAction</a>></td>
|
| <td><span class="parametername">actions</span></td>
|
| <td><p>Jobs to execute.</p> |
| </td>
|
| </tr>
|
| <tr>
|
| <td><span class="xref">System.Threading.CancellationToken</span></td>
|
| <td><span class="parametername">cancellationToken</span></td>
|
| <td><p>The cancellation token.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Threading.Tasks.Task</span></td>
|
| <td><p>Task.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_WithKeepBinary_" data-uid="Apache.Ignite.Core.Compute.ICompute.WithKeepBinary*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_WithKeepBinary" data-uid="Apache.Ignite.Core.Compute.ICompute.WithKeepBinary">WithKeepBinary()</h4>
|
| <div class="markdown level1 summary"><p>Sets keep-binary flag for the next executed Java task on this projection in the current |
| thread so that task argument passed to Java and returned task results will not be |
| deserialized.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">ICompute WithKeepBinary()</code></pre>
|
| </div>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.ICompute.html">ICompute</a></td>
|
| <td><p>This compute instance for chaining calls.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_WithNoFailover_" data-uid="Apache.Ignite.Core.Compute.ICompute.WithNoFailover*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_WithNoFailover" data-uid="Apache.Ignite.Core.Compute.ICompute.WithNoFailover">WithNoFailover()</h4>
|
| <div class="markdown level1 summary"><p>Sets no-failover flag for the next executed task on this projection in the current thread. |
| If flag is set, job will be never failed over even if remote node crashes or rejects execution. |
| When task starts execution, the no-failover flag is reset, so all other task will use default |
| failover policy, unless this flag is set again.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">ICompute WithNoFailover()</code></pre>
|
| </div>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.ICompute.html">ICompute</a></td>
|
| <td><p>This compute instance for chaining calls.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <a id="Apache_Ignite_Core_Compute_ICompute_WithTimeout_" data-uid="Apache.Ignite.Core.Compute.ICompute.WithTimeout*"></a>
|
| <h4 id="Apache_Ignite_Core_Compute_ICompute_WithTimeout_System_Int64_" data-uid="Apache.Ignite.Core.Compute.ICompute.WithTimeout(System.Int64)">WithTimeout(Int64)</h4>
|
| <div class="markdown level1 summary"><p>Sets task timeout for the next executed task on this projection in the current thread. |
| When task starts execution, the timeout is reset, so one timeout is used only once.</p> |
| </div>
|
| <div class="markdown level1 conceptual"></div>
|
| <h5 class="decalaration">Declaration</h5>
|
| <div class="codewrapper">
|
| <pre><code class="lang-csharp hljs">ICompute WithTimeout(long timeout)</code></pre>
|
| </div>
|
| <h5 class="parameters">Parameters</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Name</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><span class="xref">System.Int64</span></td>
|
| <td><span class="parametername">timeout</span></td>
|
| <td><p>Computation timeout in milliseconds.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| <h5 class="returns">Returns</h5>
|
| <table class="table table-bordered table-striped table-condensed">
|
| <thead>
|
| <tr>
|
| <th>Type</th>
|
| <th>Description</th>
|
| </tr>
|
| </thead>
|
| <tbody>
|
| <tr>
|
| <td><a class="xref" href="Apache.Ignite.Core.Compute.ICompute.html">ICompute</a></td>
|
| <td><p>This compute instance for chaining calls.</p> |
| </td>
|
| </tr>
|
| </tbody>
|
| </table>
|
| </article>
|
| </div>
|
|
|
| <div class="hidden-sm col-md-2" role="complementary">
|
| <div class="sideaffix">
|
| <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
|
| <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
|
| </nav>
|
| </div>
|
| </div>
|
| </div>
|
| </div>
|
|
|
| <footer>
|
| <div class="grad-bottom"></div>
|
| <div class="footer">
|
| <div class="container">
|
| <span class="pull-right">
|
| <a href="#top">Back to top</a>
|
| </span>
|
| © 2015 - 2018 The Apache Software Foundation
|
|
|
| </div>
|
| </div>
|
| </footer>
|
| </div>
|
|
|
| <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
|
| <script type="text/javascript" src="../styles/docfx.js"></script>
|
| <script type="text/javascript" src="../styles/main.js"></script>
|
| </body>
|
| </html>
|