blob: 99182e358d346592b9c990a85a5c00acc9a510be [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>&nbsp; Apache Ignite C++: compute_client.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="ignite_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">&nbsp; Apache Ignite C++
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_6917c354dff0dc051d18bd3bcc3faea1.html">include</a></li><li class="navelem"><a class="el" href="dir_3785354546cb37560a212b468c73f89f.html">ignite</a></li><li class="navelem"><a class="el" href="dir_097f68cb7241bfc683e7bdc6c58a7783.html">thin</a></li><li class="navelem"><a class="el" href="dir_9bcc5d12238fe024add2554f5147f329.html">compute</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">compute_client.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="compute__client_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * this work for additional information regarding copyright ownership.</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * (the &quot;License&quot;); you may not use this file except in compliance with</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * the License. You may obtain a copy of the License at</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * See the License for the specific language governing permissions and</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * limitations under the License.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#ifndef _IGNITE_THIN_COMPUTE_COMPUTE_CLIENT</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#define _IGNITE_THIN_COMPUTE_COMPUTE_CLIENT</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;ignite/common/concurrent.h&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceignite.html">ignite</a></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;{</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="keyword">namespace </span>thin</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; {</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="keyword">namespace </span>compute</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; {</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="structignite_1_1thin_1_1compute_1_1ComputeClientFlags.html"> 34</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structignite_1_1thin_1_1compute_1_1ComputeClientFlags.html">ComputeClientFlags</a></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; {</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keyword">enum</span> Type</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; {</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; NONE = 0,</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; NO_FAILOVER = 1,</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; NO_RESULT_CACHE = 2</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; };</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; };</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; </div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html"> 53</a></span>&#160; <span class="keyword">class </span>IGNITE_IMPORT_EXPORT <a class="code" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html">ComputeClient</a></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; {</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keyword">typedef</span> common::concurrent::SharedPointer&lt;void&gt; SP_Void;</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#a91affd6deb16b723b48e074d2bf11d37"> 60</a></span>&#160; <a class="code" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#a91affd6deb16b723b48e074d2bf11d37">ComputeClient</a>()</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; {</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="comment">// No-op.</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; }</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#a3d5d385aca324a58700dcb1e25afb021"> 70</a></span>&#160; <a class="code" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#a3d5d385aca324a58700dcb1e25afb021">ComputeClient</a>(<span class="keyword">const</span> SP_Void&amp; impl) :</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; impl(impl),</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; flags(<a class="code" href="structignite_1_1thin_1_1compute_1_1ComputeClientFlags.html">ComputeClientFlags</a>::NONE),</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; timeout(0)</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; {</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="comment">// No-op.</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; }</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; </div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#acc72f9378d6cbfced0ebda55d02e7bc2"> 81</a></span>&#160; <a class="code" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#acc72f9378d6cbfced0ebda55d02e7bc2">~ComputeClient</a>()</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; {</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="comment">// No-op.</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; }</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; </div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> R, <span class="keyword">typename</span> A&gt;</div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#a8e5e8d6b1b559d976dfce3a3016a409d"> 97</a></span>&#160; R <a class="code" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#a8e5e8d6b1b559d976dfce3a3016a409d">ExecuteJavaTask</a>(<span class="keyword">const</span> std::string&amp; taskName, <span class="keyword">const</span> A&amp; taskArg)</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; {</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; R result;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; impl::thin::WritableImpl&lt;A&gt; wrArg(taskArg);</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; impl::thin::ReadableImpl&lt;R&gt; rdResult(result);</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; InternalExecuteJavaTask(taskName, wrArg, rdResult);</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="keywordflow">return</span> result;</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; }</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; </div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> R&gt;</div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#abf3a2123bb61a97c454a19a6912c5ced"> 118</a></span>&#160; R <a class="code" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#abf3a2123bb61a97c454a19a6912c5ced">ExecuteJavaTask</a>(<span class="keyword">const</span> std::string&amp; taskName)</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; {</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; R result;</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="keywordtype">int</span>* nullVal = 0;</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; </div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; impl::thin::WritableImpl&lt;int*&gt; wrArg(nullVal);</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; impl::thin::ReadableImpl&lt;R&gt; rdResult(result);</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; </div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; InternalExecuteJavaTask(taskName, wrArg, rdResult);</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; </div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <span class="keywordflow">return</span> result;</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; }</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; </div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#ac28afc1c253a3206d230d869965b5130"> 137</a></span>&#160; <a class="code" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html">ComputeClient</a> <a class="code" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#ac28afc1c253a3206d230d869965b5130">WithTimeout</a>(int64_t timeoutMs)</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; {</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html">ComputeClient</a>(impl, flags, timeoutMs);</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; }</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; </div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#ae8182c721ea713cb15e71c01f0c9e87f"> 148</a></span>&#160; <a class="code" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html">ComputeClient</a> <a class="code" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#ae8182c721ea713cb15e71c01f0c9e87f">WithNoFailover</a>()</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; {</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html">ComputeClient</a>(impl, flags | ComputeClientFlags::NO_FAILOVER, timeout);</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; }</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; </div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#a6ceec230bc588b5d45a9022c39af9020"> 158</a></span>&#160; <a class="code" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html">ComputeClient</a> <a class="code" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#a6ceec230bc588b5d45a9022c39af9020">WithNoResultCache</a>()</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; {</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html">ComputeClient</a>(impl, flags | ComputeClientFlags::NO_RESULT_CACHE, timeout);</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; }</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; </div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <a class="code" href="classignite_1_1thin_1_1compute_1_1ComputeClient.html">ComputeClient</a>(<span class="keyword">const</span> SP_Void&amp; impl, int8_t flags, int64_t timeout) :</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; impl(impl),</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; flags(flags),</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; timeout(timeout)</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; {</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <span class="comment">// No-op.</span></div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; }</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; </div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <span class="keywordtype">void</span> InternalExecuteJavaTask(<span class="keyword">const</span> std::string&amp; taskName, impl::thin::Writable&amp; wrArg,</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; impl::thin::Readable&amp; res);</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; </div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; SP_Void impl;</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; </div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; int8_t flags;</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; </div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; int64_t timeout;</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; };</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; }</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; }</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;}</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; </div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160;<span class="preprocessor">#endif // _IGNITE_THIN_COMPUTE_COMPUTE_CLIENT</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="anamespaceignite_html"><div class="ttname"><a href="namespaceignite.html">ignite</a></div><div class="ttdoc">Apache Ignite API.</div><div class="ttdef"><b>Definition:</b> cache.h:48</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1compute_1_1ComputeClient_html_ae8182c721ea713cb15e71c01f0c9e87f"><div class="ttname"><a href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#ae8182c721ea713cb15e71c01f0c9e87f">ignite::thin::compute::ComputeClient::WithNoFailover</a></div><div class="ttdeci">ComputeClient WithNoFailover()</div><div class="ttdoc">Returns a new instance of ComputeClient with disabled failover.</div><div class="ttdef"><b>Definition:</b> compute_client.h:148</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1compute_1_1ComputeClient_html_abf3a2123bb61a97c454a19a6912c5ced"><div class="ttname"><a href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#abf3a2123bb61a97c454a19a6912c5ced">ignite::thin::compute::ComputeClient::ExecuteJavaTask</a></div><div class="ttdeci">R ExecuteJavaTask(const std::string &amp;taskName)</div><div class="ttdoc">Executes given Java task by class name.</div><div class="ttdef"><b>Definition:</b> compute_client.h:118</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1compute_1_1ComputeClient_html"><div class="ttname"><a href="classignite_1_1thin_1_1compute_1_1ComputeClient.html">ignite::thin::compute::ComputeClient</a></div><div class="ttdoc">Client Compute API.</div><div class="ttdef"><b>Definition:</b> compute_client.h:53</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1compute_1_1ComputeClient_html_a8e5e8d6b1b559d976dfce3a3016a409d"><div class="ttname"><a href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#a8e5e8d6b1b559d976dfce3a3016a409d">ignite::thin::compute::ComputeClient::ExecuteJavaTask</a></div><div class="ttdeci">R ExecuteJavaTask(const std::string &amp;taskName, const A &amp;taskArg)</div><div class="ttdoc">Executes given Java task by class name.</div><div class="ttdef"><b>Definition:</b> compute_client.h:97</div></div>
<div class="ttc" id="astructignite_1_1thin_1_1compute_1_1ComputeClientFlags_html"><div class="ttname"><a href="structignite_1_1thin_1_1compute_1_1ComputeClientFlags.html">ignite::thin::compute::ComputeClientFlags</a></div><div class="ttdef"><b>Definition:</b> compute_client.h:34</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1compute_1_1ComputeClient_html_a3d5d385aca324a58700dcb1e25afb021"><div class="ttname"><a href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#a3d5d385aca324a58700dcb1e25afb021">ignite::thin::compute::ComputeClient::ComputeClient</a></div><div class="ttdeci">ComputeClient(const SP_Void &amp;impl)</div><div class="ttdoc">Constructor.</div><div class="ttdef"><b>Definition:</b> compute_client.h:70</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1compute_1_1ComputeClient_html_acc72f9378d6cbfced0ebda55d02e7bc2"><div class="ttname"><a href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#acc72f9378d6cbfced0ebda55d02e7bc2">ignite::thin::compute::ComputeClient::~ComputeClient</a></div><div class="ttdeci">~ComputeClient()</div><div class="ttdoc">Destructor.</div><div class="ttdef"><b>Definition:</b> compute_client.h:81</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1compute_1_1ComputeClient_html_ac28afc1c253a3206d230d869965b5130"><div class="ttname"><a href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#ac28afc1c253a3206d230d869965b5130">ignite::thin::compute::ComputeClient::WithTimeout</a></div><div class="ttdeci">ComputeClient WithTimeout(int64_t timeoutMs)</div><div class="ttdoc">Returns a new instance of ComputeClient with a timeout for all task executions.</div><div class="ttdef"><b>Definition:</b> compute_client.h:137</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1compute_1_1ComputeClient_html_a91affd6deb16b723b48e074d2bf11d37"><div class="ttname"><a href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#a91affd6deb16b723b48e074d2bf11d37">ignite::thin::compute::ComputeClient::ComputeClient</a></div><div class="ttdeci">ComputeClient()</div><div class="ttdoc">Default constructor.</div><div class="ttdef"><b>Definition:</b> compute_client.h:60</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1compute_1_1ComputeClient_html_a6ceec230bc588b5d45a9022c39af9020"><div class="ttname"><a href="classignite_1_1thin_1_1compute_1_1ComputeClient.html#a6ceec230bc588b5d45a9022c39af9020">ignite::thin::compute::ComputeClient::WithNoResultCache</a></div><div class="ttdeci">ComputeClient WithNoResultCache()</div><div class="ttdoc">Returns a new instance of ComputeClient with disabled result cache.</div><div class="ttdef"><b>Definition:</b> compute_client.h:158</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jan 10 2022 11:02:04 for &nbsp; Apache Ignite C++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>