blob: 436de82e7b86f8d469de4e3f0b4b09d4f73d2b77 [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::Ignite Class Reference</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="namespaceignite.html">ignite</a></li><li class="navelem"><a class="el" href="classignite_1_1Ignite.html">Ignite</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classignite_1_1Ignite-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ignite::Ignite Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Main interface to operate with Ignite.
<a href="classignite_1_1Ignite.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="ignite_8h_source.html">ignite.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a200628ace06d6a5240f0e881e5f696ba"><td class="memItemLeft" align="right" valign="top"><a id="a200628ace06d6a5240f0e881e5f696ba"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1Ignite.html#a200628ace06d6a5240f0e881e5f696ba">Ignite</a> ()</td></tr>
<tr class="memdesc:a200628ace06d6a5240f0e881e5f696ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:a200628ace06d6a5240f0e881e5f696ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4caf21b9a15391ddc58bff2e02e94822"><td class="memItemLeft" align="right" valign="top"><a id="a4caf21b9a15391ddc58bff2e02e94822"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1Ignite.html#a4caf21b9a15391ddc58bff2e02e94822">Ignite</a> (impl::IgniteImpl *impl)</td></tr>
<tr class="memdesc:a4caf21b9a15391ddc58bff2e02e94822"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:a4caf21b9a15391ddc58bff2e02e94822"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74c7e8e23e6c798e19c725503898ffd4"><td class="memTemplParams" colspan="2">template&lt;typename K &gt; </td></tr>
<tr class="memitem:a74c7e8e23e6c798e19c725503898ffd4"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1cache_1_1CacheAffinity.html">cache::CacheAffinity</a>&lt; K &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classignite_1_1Ignite.html#a74c7e8e23e6c798e19c725503898ffd4">GetAffinity</a> (const std::string &amp;cacheName)</td></tr>
<tr class="memdesc:a74c7e8e23e6c798e19c725503898ffd4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get affinity service to provide information about data partitioning and distribution. <a href="classignite_1_1Ignite.html#a74c7e8e23e6c798e19c725503898ffd4">More...</a><br /></td></tr>
<tr class="separator:a74c7e8e23e6c798e19c725503898ffd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38f2576ec5ab815f832144f82000ee0a"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1Ignite.html#a38f2576ec5ab815f832144f82000ee0a">GetName</a> () const</td></tr>
<tr class="memdesc:a38f2576ec5ab815f832144f82000ee0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get <a class="el" href="classignite_1_1Ignite.html" title="Main interface to operate with Ignite.">Ignite</a> instance name. <a href="classignite_1_1Ignite.html#a38f2576ec5ab815f832144f82000ee0a">More...</a><br /></td></tr>
<tr class="separator:a38f2576ec5ab815f832144f82000ee0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb4ccf85c9e45f89176319542551b376"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structignite_1_1IgniteConfiguration.html">IgniteConfiguration</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1Ignite.html#abb4ccf85c9e45f89176319542551b376">GetConfiguration</a> () const</td></tr>
<tr class="memdesc:abb4ccf85c9e45f89176319542551b376"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get node configuration. <a href="classignite_1_1Ignite.html#abb4ccf85c9e45f89176319542551b376">More...</a><br /></td></tr>
<tr class="separator:abb4ccf85c9e45f89176319542551b376"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a228adab59e935565341e1f59e6105fc2"><td class="memTemplParams" colspan="2">template&lt;typename K , typename V &gt; </td></tr>
<tr class="memitem:a228adab59e935565341e1f59e6105fc2"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1cache_1_1Cache.html">cache::Cache</a>&lt; K, V &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classignite_1_1Ignite.html#a228adab59e935565341e1f59e6105fc2">GetCache</a> (const char *name)</td></tr>
<tr class="memdesc:a228adab59e935565341e1f59e6105fc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get cache. <a href="classignite_1_1Ignite.html#a228adab59e935565341e1f59e6105fc2">More...</a><br /></td></tr>
<tr class="separator:a228adab59e935565341e1f59e6105fc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93b1f8ce74129dcf66bf6d94e6485ced"><td class="memTemplParams" colspan="2">template&lt;typename K , typename V &gt; </td></tr>
<tr class="memitem:a93b1f8ce74129dcf66bf6d94e6485ced"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1cache_1_1Cache.html">cache::Cache</a>&lt; K, V &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classignite_1_1Ignite.html#a93b1f8ce74129dcf66bf6d94e6485ced">GetCache</a> (const char *name, <a class="el" href="classignite_1_1IgniteError.html">IgniteError</a> &amp;err)</td></tr>
<tr class="memdesc:a93b1f8ce74129dcf66bf6d94e6485ced"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get cache. <a href="classignite_1_1Ignite.html#a93b1f8ce74129dcf66bf6d94e6485ced">More...</a><br /></td></tr>
<tr class="separator:a93b1f8ce74129dcf66bf6d94e6485ced"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac066d021e231265dfb6cce35a5d8cde6"><td class="memTemplParams" colspan="2">template&lt;typename K , typename V &gt; </td></tr>
<tr class="memitem:ac066d021e231265dfb6cce35a5d8cde6"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1cache_1_1Cache.html">cache::Cache</a>&lt; K, V &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classignite_1_1Ignite.html#ac066d021e231265dfb6cce35a5d8cde6">GetOrCreateCache</a> (const char *name)</td></tr>
<tr class="memdesc:ac066d021e231265dfb6cce35a5d8cde6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get or create cache. <a href="classignite_1_1Ignite.html#ac066d021e231265dfb6cce35a5d8cde6">More...</a><br /></td></tr>
<tr class="separator:ac066d021e231265dfb6cce35a5d8cde6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5edb29bbf71656b0ec2c4397121e08b"><td class="memTemplParams" colspan="2">template&lt;typename K , typename V &gt; </td></tr>
<tr class="memitem:ac5edb29bbf71656b0ec2c4397121e08b"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1cache_1_1Cache.html">cache::Cache</a>&lt; K, V &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classignite_1_1Ignite.html#ac5edb29bbf71656b0ec2c4397121e08b">GetOrCreateCache</a> (const char *name, <a class="el" href="classignite_1_1IgniteError.html">IgniteError</a> &amp;err)</td></tr>
<tr class="memdesc:ac5edb29bbf71656b0ec2c4397121e08b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get or create cache. <a href="classignite_1_1Ignite.html#ac5edb29bbf71656b0ec2c4397121e08b">More...</a><br /></td></tr>
<tr class="separator:ac5edb29bbf71656b0ec2c4397121e08b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f979e79ca480259d62654fe04d12e08"><td class="memTemplParams" colspan="2">template&lt;typename K , typename V &gt; </td></tr>
<tr class="memitem:a8f979e79ca480259d62654fe04d12e08"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1cache_1_1Cache.html">cache::Cache</a>&lt; K, V &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classignite_1_1Ignite.html#a8f979e79ca480259d62654fe04d12e08">CreateCache</a> (const char *name)</td></tr>
<tr class="memdesc:a8f979e79ca480259d62654fe04d12e08"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create cache. <a href="classignite_1_1Ignite.html#a8f979e79ca480259d62654fe04d12e08">More...</a><br /></td></tr>
<tr class="separator:a8f979e79ca480259d62654fe04d12e08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a8bebe601fd0ae19af43f7498c9f958"><td class="memTemplParams" colspan="2">template&lt;typename K , typename V &gt; </td></tr>
<tr class="memitem:a3a8bebe601fd0ae19af43f7498c9f958"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1cache_1_1Cache.html">cache::Cache</a>&lt; K, V &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classignite_1_1Ignite.html#a3a8bebe601fd0ae19af43f7498c9f958">CreateCache</a> (const char *name, <a class="el" href="classignite_1_1IgniteError.html">IgniteError</a> &amp;err)</td></tr>
<tr class="memdesc:a3a8bebe601fd0ae19af43f7498c9f958"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create cache. <a href="classignite_1_1Ignite.html#a3a8bebe601fd0ae19af43f7498c9f958">More...</a><br /></td></tr>
<tr class="separator:a3a8bebe601fd0ae19af43f7498c9f958"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5455dd6d8f8453073fbd32c60fe0c3af"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1Ignite.html#a5455dd6d8f8453073fbd32c60fe0c3af">IsActive</a> ()</td></tr>
<tr class="memdesc:a5455dd6d8f8453073fbd32c60fe0c3af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the <a class="el" href="classignite_1_1Ignite.html" title="Main interface to operate with Ignite.">Ignite</a> grid is active. <a href="classignite_1_1Ignite.html#a5455dd6d8f8453073fbd32c60fe0c3af">More...</a><br /></td></tr>
<tr class="separator:a5455dd6d8f8453073fbd32c60fe0c3af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a481375583b96f54119ef604338cfc5b8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1Ignite.html#a481375583b96f54119ef604338cfc5b8">SetActive</a> (bool active)</td></tr>
<tr class="memdesc:a481375583b96f54119ef604338cfc5b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change <a class="el" href="classignite_1_1Ignite.html" title="Main interface to operate with Ignite.">Ignite</a> grid state to active or inactive. <a href="classignite_1_1Ignite.html#a481375583b96f54119ef604338cfc5b8">More...</a><br /></td></tr>
<tr class="separator:a481375583b96f54119ef604338cfc5b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3689391946e2196ca06ae9672c548711"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1transactions_1_1Transactions.html">transactions::Transactions</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1Ignite.html#a3689391946e2196ca06ae9672c548711">GetTransactions</a> ()</td></tr>
<tr class="memdesc:a3689391946e2196ca06ae9672c548711"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get transactions. <a href="classignite_1_1Ignite.html#a3689391946e2196ca06ae9672c548711">More...</a><br /></td></tr>
<tr class="separator:a3689391946e2196ca06ae9672c548711"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a64fc169a9178b4dfc1f9547ec88864"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1cluster_1_1IgniteCluster.html">cluster::IgniteCluster</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1Ignite.html#a7a64fc169a9178b4dfc1f9547ec88864">GetCluster</a> ()</td></tr>
<tr class="memdesc:a7a64fc169a9178b4dfc1f9547ec88864"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get cluster. <a href="classignite_1_1Ignite.html#a7a64fc169a9178b4dfc1f9547ec88864">More...</a><br /></td></tr>
<tr class="separator:a7a64fc169a9178b4dfc1f9547ec88864"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ccb33becca6d2e74d9447c33a3b1527"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1compute_1_1Compute.html">compute::Compute</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1Ignite.html#a9ccb33becca6d2e74d9447c33a3b1527">GetCompute</a> ()</td></tr>
<tr class="memdesc:a9ccb33becca6d2e74d9447c33a3b1527"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets compute instance over all cluster nodes started in server mode. <a href="classignite_1_1Ignite.html#a9ccb33becca6d2e74d9447c33a3b1527">More...</a><br /></td></tr>
<tr class="separator:a9ccb33becca6d2e74d9447c33a3b1527"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98362112ee93fbd46f01661b7f9a9f7a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1compute_1_1Compute.html">compute::Compute</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1Ignite.html#a98362112ee93fbd46f01661b7f9a9f7a">GetCompute</a> (<a class="el" href="classignite_1_1cluster_1_1ClusterGroup.html">cluster::ClusterGroup</a> grp)</td></tr>
<tr class="memdesc:a98362112ee93fbd46f01661b7f9a9f7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets compute instance over the specified cluster group. <a href="classignite_1_1Ignite.html#a98362112ee93fbd46f01661b7f9a9f7a">More...</a><br /></td></tr>
<tr class="separator:a98362112ee93fbd46f01661b7f9a9f7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad01b323b036fb4c4235ce49d632578d4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1IgniteBinding.html">IgniteBinding</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1Ignite.html#ad01b323b036fb4c4235ce49d632578d4">GetBinding</a> ()</td></tr>
<tr class="memdesc:ad01b323b036fb4c4235ce49d632578d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get ignite binding. <a href="classignite_1_1Ignite.html#ad01b323b036fb4c4235ce49d632578d4">More...</a><br /></td></tr>
<tr class="separator:ad01b323b036fb4c4235ce49d632578d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fe4f75952821ee40af4e2e7facff60c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1Ignite.html#a8fe4f75952821ee40af4e2e7facff60c">IsValid</a> () const</td></tr>
<tr class="memdesc:a8fe4f75952821ee40af4e2e7facff60c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the instance is valid. <a href="classignite_1_1Ignite.html#a8fe4f75952821ee40af4e2e7facff60c">More...</a><br /></td></tr>
<tr class="separator:a8fe4f75952821ee40af4e2e7facff60c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:ac021f46714add1bc48c4bb8e631c886d"><td class="memItemLeft" align="right" valign="top"><a id="ac021f46714add1bc48c4bb8e631c886d"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>impl::IgniteImpl</b></td></tr>
<tr class="separator:ac021f46714add1bc48c4bb8e631c886d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Main interface to operate with Ignite. </p>
<p>This class is implemented as a reference to an implementation so copying of this class instance will only create another reference to the same underlying object. Underlying object will be released automatically once all the instances are destructed. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a8f979e79ca480259d62654fe04d12e08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f979e79ca480259d62654fe04d12e08">&#9670;&nbsp;</a></span>CreateCache() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename K , typename V &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1cache_1_1Cache.html">cache::Cache</a>&lt;K, V&gt; ignite::Ignite::CreateCache </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create cache. </p>
<p>This method should only be used on the valid instance.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>Cache name. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Cache. </dd></dl>
</div>
</div>
<a id="a3a8bebe601fd0ae19af43f7498c9f958"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a8bebe601fd0ae19af43f7498c9f958">&#9670;&nbsp;</a></span>CreateCache() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename K , typename V &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1cache_1_1Cache.html">cache::Cache</a>&lt;K, V&gt; ignite::Ignite::CreateCache </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classignite_1_1IgniteError.html">IgniteError</a> &amp;&#160;</td>
<td class="paramname"><em>err</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create cache. </p>
<p>This method should only be used on the valid instance.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>Cache name. </td></tr>
<tr><td class="paramname">err</td><td>Error; </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Cache. </dd></dl>
</div>
</div>
<a id="a74c7e8e23e6c798e19c725503898ffd4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74c7e8e23e6c798e19c725503898ffd4">&#9670;&nbsp;</a></span>GetAffinity()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename K &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1cache_1_1CacheAffinity.html">cache::CacheAffinity</a>&lt;K&gt; ignite::Ignite::GetAffinity </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>cacheName</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get affinity service to provide information about data partitioning and distribution. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">K</td><td>Cache affinity key type.</td></tr>
</table>
</dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">cacheName</td><td>Cache name. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Cache data affinity service. </dd></dl>
</div>
</div>
<a id="ad01b323b036fb4c4235ce49d632578d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad01b323b036fb4c4235ce49d632578d4">&#9670;&nbsp;</a></span>GetBinding()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1IgniteBinding.html">IgniteBinding</a> ignite::Ignite::GetBinding </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get ignite binding. </p>
<p>This method should only be used on the valid instance.</p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classignite_1_1IgniteBinding.html" title="Ignite Binding.">IgniteBinding</a> class instance. </dd></dl>
</div>
</div>
<a id="a228adab59e935565341e1f59e6105fc2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a228adab59e935565341e1f59e6105fc2">&#9670;&nbsp;</a></span>GetCache() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename K , typename V &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1cache_1_1Cache.html">cache::Cache</a>&lt;K, V&gt; ignite::Ignite::GetCache </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get cache. </p>
<p>This method should only be used on the valid instance.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>Cache name. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Cache. </dd></dl>
</div>
</div>
<a id="a93b1f8ce74129dcf66bf6d94e6485ced"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93b1f8ce74129dcf66bf6d94e6485ced">&#9670;&nbsp;</a></span>GetCache() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename K , typename V &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1cache_1_1Cache.html">cache::Cache</a>&lt;K, V&gt; ignite::Ignite::GetCache </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classignite_1_1IgniteError.html">IgniteError</a> &amp;&#160;</td>
<td class="paramname"><em>err</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get cache. </p>
<p>This method should only be used on the valid instance.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>Cache name. </td></tr>
<tr><td class="paramname">err</td><td>Error; </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Cache. </dd></dl>
</div>
</div>
<a id="a7a64fc169a9178b4dfc1f9547ec88864"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a64fc169a9178b4dfc1f9547ec88864">&#9670;&nbsp;</a></span>GetCluster()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1cluster_1_1IgniteCluster.html">cluster::IgniteCluster</a> ignite::Ignite::GetCluster </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get cluster. </p>
<p>This method should only be called on the valid instance.</p>
<dl class="section return"><dt>Returns</dt><dd>Cluster class instance. </dd></dl>
</div>
</div>
<a id="a9ccb33becca6d2e74d9447c33a3b1527"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ccb33becca6d2e74d9447c33a3b1527">&#9670;&nbsp;</a></span>GetCompute() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1compute_1_1Compute.html">compute::Compute</a> ignite::Ignite::GetCompute </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets compute instance over all cluster nodes started in server mode. </p>
<p>This method should only be called on the valid instance.</p>
<dl class="section return"><dt>Returns</dt><dd>Compute class instance. </dd></dl>
</div>
</div>
<a id="a98362112ee93fbd46f01661b7f9a9f7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98362112ee93fbd46f01661b7f9a9f7a">&#9670;&nbsp;</a></span>GetCompute() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1compute_1_1Compute.html">compute::Compute</a> ignite::Ignite::GetCompute </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classignite_1_1cluster_1_1ClusterGroup.html">cluster::ClusterGroup</a>&#160;</td>
<td class="paramname"><em>grp</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets compute instance over the specified cluster group. </p>
<p>All operations on the returned compute instance will only include nodes from this cluster group.</p>
<p>This method should only be called on the valid instance.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">grp</td><td>Specified cluster group instance. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Compute class instance over the specified cluster group. </dd></dl>
</div>
</div>
<a id="abb4ccf85c9e45f89176319542551b376"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb4ccf85c9e45f89176319542551b376">&#9670;&nbsp;</a></span>GetConfiguration()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="structignite_1_1IgniteConfiguration.html">IgniteConfiguration</a> &amp; ignite::Ignite::GetConfiguration </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get node configuration. </p>
<p>This method should only be used on the valid instance.</p>
<dl class="section return"><dt>Returns</dt><dd>Node configuration. </dd></dl>
</div>
</div>
<a id="a38f2576ec5ab815f832144f82000ee0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38f2576ec5ab815f832144f82000ee0a">&#9670;&nbsp;</a></span>GetName()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char * ignite::Ignite::GetName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get <a class="el" href="classignite_1_1Ignite.html" title="Main interface to operate with Ignite.">Ignite</a> instance name. </p>
<dl class="section return"><dt>Returns</dt><dd>Name. </dd></dl>
</div>
</div>
<a id="ac066d021e231265dfb6cce35a5d8cde6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac066d021e231265dfb6cce35a5d8cde6">&#9670;&nbsp;</a></span>GetOrCreateCache() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename K , typename V &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1cache_1_1Cache.html">cache::Cache</a>&lt;K, V&gt; ignite::Ignite::GetOrCreateCache </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get or create cache. </p>
<p>This method should only be used on the valid instance.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>Cache name. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Cache. </dd></dl>
</div>
</div>
<a id="ac5edb29bbf71656b0ec2c4397121e08b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5edb29bbf71656b0ec2c4397121e08b">&#9670;&nbsp;</a></span>GetOrCreateCache() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename K , typename V &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1cache_1_1Cache.html">cache::Cache</a>&lt;K, V&gt; ignite::Ignite::GetOrCreateCache </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classignite_1_1IgniteError.html">IgniteError</a> &amp;&#160;</td>
<td class="paramname"><em>err</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get or create cache. </p>
<p>This method should only be used on the valid instance.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>Cache name. </td></tr>
<tr><td class="paramname">err</td><td>Error; </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Cache. </dd></dl>
</div>
</div>
<a id="a3689391946e2196ca06ae9672c548711"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3689391946e2196ca06ae9672c548711">&#9670;&nbsp;</a></span>GetTransactions()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1transactions_1_1Transactions.html">transactions::Transactions</a> ignite::Ignite::GetTransactions </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get transactions. </p>
<p>This method should only be used on the valid instance.</p>
<dl class="section return"><dt>Returns</dt><dd>Transaction class instance. </dd></dl>
</div>
</div>
<a id="a5455dd6d8f8453073fbd32c60fe0c3af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5455dd6d8f8453073fbd32c60fe0c3af">&#9670;&nbsp;</a></span>IsActive()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ignite::Ignite::IsActive </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Check if the <a class="el" href="classignite_1_1Ignite.html" title="Main interface to operate with Ignite.">Ignite</a> grid is active. </p>
<dl class="section return"><dt>Returns</dt><dd>True if grid is active and false otherwise. </dd></dl>
</div>
</div>
<a id="a8fe4f75952821ee40af4e2e7facff60c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8fe4f75952821ee40af4e2e7facff60c">&#9670;&nbsp;</a></span>IsValid()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ignite::Ignite::IsValid </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Check if the instance is valid. </p>
<p>Invalid instance can be returned if some of the previous operations have resulted in a failure. For example invalid instance can be returned by not-throwing version of method in case of error. Invalid instances also often can be created using default constructor.</p>
<dl class="section return"><dt>Returns</dt><dd>True if the instance is valid and can be used. </dd></dl>
</div>
</div>
<a id="a481375583b96f54119ef604338cfc5b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a481375583b96f54119ef604338cfc5b8">&#9670;&nbsp;</a></span>SetActive()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ignite::Ignite::SetActive </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>active</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Change <a class="el" href="classignite_1_1Ignite.html" title="Main interface to operate with Ignite.">Ignite</a> grid state to active or inactive. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">active</td><td>If true start activation process. If false start deactivation process. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ignite_8h_source.html">ignite.h</a></li>
<li>ignite.cpp</li>
</ul>
</div><!-- contents -->
<!-- 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>