blob: a9ddebfa97052401a3ccdf2449cfb90d2c99a63c [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++: ignite.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>
</div><!-- top -->
<!-- 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 class="header">
<div class="headertitle">
<div class="title">ignite.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="ignite_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_IGNITE</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#define _IGNITE_IGNITE</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/impl/ignite_impl.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="preprocessor">#include &lt;<a class="code" href="ignite__configuration_8h.html">ignite/ignite_configuration.h</a>&gt;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="cache_8h.html">ignite/cache/cache.h</a>&gt;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="cache__affinity_8h.html">ignite/cache/cache_affinity.h</a>&gt;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="core_2include_2ignite_2transactions_2transactions_8h.html">ignite/transactions/transactions.h</a>&gt;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="compute_8h.html">ignite/compute/compute.h</a>&gt;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="ignite__cluster_8h.html">ignite/cluster/ignite_cluster.h</a>&gt;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceignite.html">ignite</a></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;{</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classignite_1_1Ignite.html"> 45</a></span>&#160; <span class="keyword">class </span>IGNITE_IMPORT_EXPORT <a class="code" href="classignite_1_1Ignite.html">Ignite</a></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; {</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keyword">friend</span> <span class="keyword">class </span>impl::IgniteImpl;</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <a class="code" href="classignite_1_1Ignite.html">Ignite</a>();</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <a class="code" href="classignite_1_1Ignite.html">Ignite</a>(impl::IgniteImpl* impl);</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> K&gt;</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classignite_1_1Ignite.html#a74c7e8e23e6c798e19c725503898ffd4"> 68</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1CacheAffinity.html">cache::CacheAffinity&lt;K&gt;</a> <a class="code" href="classignite_1_1Ignite.html#a74c7e8e23e6c798e19c725503898ffd4">GetAffinity</a>(<span class="keyword">const</span> std::string&amp; cacheName)</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; {</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <a class="code" href="classignite_1_1cache_1_1CacheAffinity.html">cache::CacheAffinity&lt;K&gt;</a> ret(impl.Get()-&gt;GetAffinity(cacheName, err));</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keywordflow">return</span> ret;</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; }</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* GetName() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; </div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="keyword">const</span> <a class="code" href="structignite_1_1IgniteConfiguration.html">IgniteConfiguration</a>&amp; GetConfiguration() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; </div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> K, <span class="keyword">typename</span> V&gt;</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classignite_1_1Ignite.html#a228adab59e935565341e1f59e6105fc2"> 104</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1Cache.html">cache::Cache&lt;K, V&gt;</a> <a class="code" href="classignite_1_1Ignite.html#a228adab59e935565341e1f59e6105fc2">GetCache</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name)</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; <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</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; <a class="code" href="classignite_1_1cache_1_1Cache.html">cache::Cache&lt;K, V&gt;</a> res = GetCache&lt;K, V&gt;(name, err);</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; </div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keywordflow">return</span> res;</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; }</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; </div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> K, <span class="keyword">typename</span> V&gt;</div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="classignite_1_1Ignite.html#a93b1f8ce74129dcf66bf6d94e6485ced"> 125</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1Cache.html">cache::Cache&lt;K, V&gt;</a> <a class="code" href="classignite_1_1Ignite.html#a93b1f8ce74129dcf66bf6d94e6485ced">GetCache</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>&amp; err)</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; {</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; impl::cache::CacheImpl* cacheImpl = impl.Get()-&gt;GetCache(name, err);</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; </div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classignite_1_1cache_1_1Cache.html">cache::Cache&lt;K, V&gt;</a>(cacheImpl);</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; }</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; </div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> K, <span class="keyword">typename</span> V&gt;</div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="classignite_1_1Ignite.html#ac066d021e231265dfb6cce35a5d8cde6"> 141</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1Cache.html">cache::Cache&lt;K, V&gt;</a> <a class="code" href="classignite_1_1Ignite.html#ac066d021e231265dfb6cce35a5d8cde6">GetOrCreateCache</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; {</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; </div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <a class="code" href="classignite_1_1cache_1_1Cache.html">cache::Cache&lt;K, V&gt;</a> res = GetOrCreateCache&lt;K, V&gt;(name, err);</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; </div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; </div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="keywordflow">return</span> res;</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; }</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; </div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> K, <span class="keyword">typename</span> V&gt;</div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="classignite_1_1Ignite.html#ac5edb29bbf71656b0ec2c4397121e08b"> 162</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1Cache.html">cache::Cache&lt;K, V&gt;</a> <a class="code" href="classignite_1_1Ignite.html#ac5edb29bbf71656b0ec2c4397121e08b">GetOrCreateCache</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>&amp; err)</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; {</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; impl::cache::CacheImpl* cacheImpl = impl.Get()-&gt;GetOrCreateCache(name, err);</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; </div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classignite_1_1cache_1_1Cache.html">cache::Cache&lt;K, V&gt;</a>(cacheImpl);</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; }</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; </div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> K, <span class="keyword">typename</span> V&gt;</div>
<div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="classignite_1_1Ignite.html#a8f979e79ca480259d62654fe04d12e08"> 178</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1Cache.html">cache::Cache&lt;K, V&gt;</a> <a class="code" href="classignite_1_1Ignite.html#a8f979e79ca480259d62654fe04d12e08">CreateCache</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; {</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; </div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <a class="code" href="classignite_1_1cache_1_1Cache.html">cache::Cache&lt;K, V&gt;</a> res = CreateCache&lt;K, V&gt;(name, err);</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; </div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; </div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <span class="keywordflow">return</span> res;</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; }</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; </div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> K, <span class="keyword">typename</span> V&gt;</div>
<div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="classignite_1_1Ignite.html#a3a8bebe601fd0ae19af43f7498c9f958"> 199</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1Cache.html">cache::Cache&lt;K, V&gt;</a> <a class="code" href="classignite_1_1Ignite.html#a3a8bebe601fd0ae19af43f7498c9f958">CreateCache</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>&amp; err)</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; impl::cache::CacheImpl* cacheImpl = impl.Get()-&gt;CreateCache(name, err);</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; </div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classignite_1_1cache_1_1Cache.html">cache::Cache&lt;K, V&gt;</a>(cacheImpl);</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; }</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; </div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <span class="keywordtype">bool</span> IsActive();</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; </div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <span class="keywordtype">void</span> SetActive(<span class="keywordtype">bool</span> active);</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; </div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <a class="code" href="classignite_1_1transactions_1_1Transactions.html">transactions::Transactions</a> GetTransactions();</div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; </div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; <a class="code" href="classignite_1_1cluster_1_1IgniteCluster.html">cluster::IgniteCluster</a> GetCluster();</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; </div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <a class="code" href="classignite_1_1compute_1_1Compute.html">compute::Compute</a> GetCompute();</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; </div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; <a class="code" href="classignite_1_1compute_1_1Compute.html">compute::Compute</a> GetCompute(<a class="code" href="classignite_1_1cluster_1_1ClusterGroup.html">cluster::ClusterGroup</a> grp);</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; </div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; <a class="code" href="classignite_1_1IgniteBinding.html">IgniteBinding</a> GetBinding();</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; </div>
<div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="classignite_1_1Ignite.html#a8fe4f75952821ee40af4e2e7facff60c"> 280</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1Ignite.html#a8fe4f75952821ee40af4e2e7facff60c">IsValid</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <span class="keywordflow">return</span> impl.IsValid();</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; }</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; </div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; ignite::common::concurrent::SharedPointer&lt;impl::IgniteImpl&gt; impl;</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; };</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160;}</div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; </div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160;<span class="preprocessor">#endif //_IGNITE_IGNITE</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclassignite_1_1IgniteBinding_html"><div class="ttname"><a href="classignite_1_1IgniteBinding.html">ignite::IgniteBinding</a></div><div class="ttdoc">Ignite Binding.</div><div class="ttdef"><b>Definition:</b> ignite_binding.h:38</div></div>
<div class="ttc" id="aclassignite_1_1compute_1_1Compute_html"><div class="ttname"><a href="classignite_1_1compute_1_1Compute.html">ignite::compute::Compute</a></div><div class="ttdoc">Defines compute grid functionality for executing tasks and closures over nodes in the ClusterGroup.</div><div class="ttdef"><b>Definition:</b> compute.h:74</div></div>
<div class="ttc" id="aclassignite_1_1transactions_1_1Transactions_html"><div class="ttname"><a href="classignite_1_1transactions_1_1Transactions.html">ignite::transactions::Transactions</a></div><div class="ttdoc">Transactions facade.</div><div class="ttdef"><b>Definition:</b> core/include/ignite/transactions/transactions.h:45</div></div>
<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="acache__affinity_8h_html"><div class="ttname"><a href="cache__affinity_8h.html">cache_affinity.h</a></div></div>
<div class="ttc" id="aclassignite_1_1Ignite_html_a8fe4f75952821ee40af4e2e7facff60c"><div class="ttname"><a href="classignite_1_1Ignite.html#a8fe4f75952821ee40af4e2e7facff60c">ignite::Ignite::IsValid</a></div><div class="ttdeci">bool IsValid() const</div><div class="ttdoc">Check if the instance is valid.</div><div class="ttdef"><b>Definition:</b> ignite.h:280</div></div>
<div class="ttc" id="aclassignite_1_1Ignite_html_a3a8bebe601fd0ae19af43f7498c9f958"><div class="ttname"><a href="classignite_1_1Ignite.html#a3a8bebe601fd0ae19af43f7498c9f958">ignite::Ignite::CreateCache</a></div><div class="ttdeci">cache::Cache&lt; K, V &gt; CreateCache(const char *name, IgniteError &amp;err)</div><div class="ttdoc">Create cache.</div><div class="ttdef"><b>Definition:</b> ignite.h:199</div></div>
<div class="ttc" id="aclassignite_1_1cache_1_1Cache_html"><div class="ttname"><a href="classignite_1_1cache_1_1Cache.html">ignite::cache::Cache</a></div><div class="ttdoc">Main entry point for all Data Grid APIs.</div><div class="ttdef"><b>Definition:</b> cache.h:68</div></div>
<div class="ttc" id="aclassignite_1_1Ignite_html_a74c7e8e23e6c798e19c725503898ffd4"><div class="ttname"><a href="classignite_1_1Ignite.html#a74c7e8e23e6c798e19c725503898ffd4">ignite::Ignite::GetAffinity</a></div><div class="ttdeci">cache::CacheAffinity&lt; K &gt; GetAffinity(const std::string &amp;cacheName)</div><div class="ttdoc">Get affinity service to provide information about data partitioning and distribution.</div><div class="ttdef"><b>Definition:</b> ignite.h:68</div></div>
<div class="ttc" id="aclassignite_1_1Ignite_html"><div class="ttname"><a href="classignite_1_1Ignite.html">ignite::Ignite</a></div><div class="ttdoc">Main interface to operate with Ignite.</div><div class="ttdef"><b>Definition:</b> ignite.h:45</div></div>
<div class="ttc" id="aclassignite_1_1cluster_1_1ClusterGroup_html"><div class="ttname"><a href="classignite_1_1cluster_1_1ClusterGroup.html">ignite::cluster::ClusterGroup</a></div><div class="ttdoc">Defines a cluster group which contains all or a subset of cluster nodes.</div><div class="ttdef"><b>Definition:</b> cluster_group.h:45</div></div>
<div class="ttc" id="acompute_8h_html"><div class="ttname"><a href="compute_8h.html">compute.h</a></div></div>
<div class="ttc" id="aignite__cluster_8h_html"><div class="ttname"><a href="ignite__cluster_8h.html">ignite_cluster.h</a></div></div>
<div class="ttc" id="aclassignite_1_1cache_1_1CacheAffinity_html"><div class="ttname"><a href="classignite_1_1cache_1_1CacheAffinity.html">ignite::cache::CacheAffinity</a></div><div class="ttdoc">Provides affinity information to detect which node is primary and which nodes are backups for a parti...</div><div class="ttdef"><b>Definition:</b> cache_affinity.h:42</div></div>
<div class="ttc" id="aclassignite_1_1Ignite_html_ac5edb29bbf71656b0ec2c4397121e08b"><div class="ttname"><a href="classignite_1_1Ignite.html#ac5edb29bbf71656b0ec2c4397121e08b">ignite::Ignite::GetOrCreateCache</a></div><div class="ttdeci">cache::Cache&lt; K, V &gt; GetOrCreateCache(const char *name, IgniteError &amp;err)</div><div class="ttdoc">Get or create cache.</div><div class="ttdef"><b>Definition:</b> ignite.h:162</div></div>
<div class="ttc" id="aclassignite_1_1Ignite_html_a93b1f8ce74129dcf66bf6d94e6485ced"><div class="ttname"><a href="classignite_1_1Ignite.html#a93b1f8ce74129dcf66bf6d94e6485ced">ignite::Ignite::GetCache</a></div><div class="ttdeci">cache::Cache&lt; K, V &gt; GetCache(const char *name, IgniteError &amp;err)</div><div class="ttdoc">Get cache.</div><div class="ttdef"><b>Definition:</b> ignite.h:125</div></div>
<div class="ttc" id="aclassignite_1_1Ignite_html_a8f979e79ca480259d62654fe04d12e08"><div class="ttname"><a href="classignite_1_1Ignite.html#a8f979e79ca480259d62654fe04d12e08">ignite::Ignite::CreateCache</a></div><div class="ttdeci">cache::Cache&lt; K, V &gt; CreateCache(const char *name)</div><div class="ttdoc">Create cache.</div><div class="ttdef"><b>Definition:</b> ignite.h:178</div></div>
<div class="ttc" id="acache_8h_html"><div class="ttname"><a href="cache_8h.html">cache.h</a></div></div>
<div class="ttc" id="astructignite_1_1IgniteConfiguration_html"><div class="ttname"><a href="structignite_1_1IgniteConfiguration.html">ignite::IgniteConfiguration</a></div><div class="ttdoc">Ignite configuration.</div><div class="ttdef"><b>Definition:</b> ignite_configuration.h:35</div></div>
<div class="ttc" id="aclassignite_1_1IgniteError_html_a99e9d86e40876885459a86276eccb935"><div class="ttname"><a href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">ignite::IgniteError::ThrowIfNeeded</a></div><div class="ttdeci">static void ThrowIfNeeded(const IgniteError &amp;err)</div><div class="ttdoc">Throw an error if code is not IGNITE_SUCCESS.</div><div class="ttdef"><b>Definition:</b> ignite_error.cpp:27</div></div>
<div class="ttc" id="aignite__configuration_8h_html"><div class="ttname"><a href="ignite__configuration_8h.html">ignite_configuration.h</a></div></div>
<div class="ttc" id="aclassignite_1_1cluster_1_1IgniteCluster_html"><div class="ttname"><a href="classignite_1_1cluster_1_1IgniteCluster.html">ignite::cluster::IgniteCluster</a></div><div class="ttdoc">Represents whole cluster (all available nodes).</div><div class="ttdef"><b>Definition:</b> ignite_cluster.h:39</div></div>
<div class="ttc" id="acore_2include_2ignite_2transactions_2transactions_8h_html"><div class="ttname"><a href="core_2include_2ignite_2transactions_2transactions_8h.html">transactions.h</a></div></div>
<div class="ttc" id="aclassignite_1_1IgniteError_html"><div class="ttname"><a href="classignite_1_1IgniteError.html">ignite::IgniteError</a></div><div class="ttdoc">Ignite error information.</div><div class="ttdef"><b>Definition:</b> ignite_error.h:94</div></div>
<div class="ttc" id="aclassignite_1_1Ignite_html_a228adab59e935565341e1f59e6105fc2"><div class="ttname"><a href="classignite_1_1Ignite.html#a228adab59e935565341e1f59e6105fc2">ignite::Ignite::GetCache</a></div><div class="ttdeci">cache::Cache&lt; K, V &gt; GetCache(const char *name)</div><div class="ttdoc">Get cache.</div><div class="ttdef"><b>Definition:</b> ignite.h:104</div></div>
<div class="ttc" id="aclassignite_1_1Ignite_html_ac066d021e231265dfb6cce35a5d8cde6"><div class="ttname"><a href="classignite_1_1Ignite.html#ac066d021e231265dfb6cce35a5d8cde6">ignite::Ignite::GetOrCreateCache</a></div><div class="ttdeci">cache::Cache&lt; K, V &gt; GetOrCreateCache(const char *name)</div><div class="ttdoc">Get or create cache.</div><div class="ttdef"><b>Definition:</b> ignite.h:141</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>