| <!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> Apache Ignite C++: ignite::cluster::ClusterNode 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"> 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&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&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"><b>cluster</b></li><li class="navelem"><a class="el" href="classignite_1_1cluster_1_1ClusterNode.html">ClusterNode</a></li> </ul> |
| </div> |
| </div><!-- top --> |
| <div class="header"> |
| <div class="summary"> |
| <a href="#pub-methods">Public Member Functions</a> | |
| <a href="#friends">Friends</a> | |
| <a href="classignite_1_1cluster_1_1ClusterNode-members.html">List of all members</a> </div> |
| <div class="headertitle"> |
| <div class="title">ignite::cluster::ClusterNode Class Reference</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| |
| <p>Interface representing a single cluster node. |
| <a href="classignite_1_1cluster_1_1ClusterNode.html#details">More...</a></p> |
| |
| <p><code>#include <<a class="el" href="cluster__node_8h_source.html">cluster_node.h</a>></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:ab9fa8bdf0a54bd1486999a3afc70aa3b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cluster_1_1ClusterNode.html#ab9fa8bdf0a54bd1486999a3afc70aa3b">ClusterNode</a> (common::concurrent::SharedPointer< ignite::impl::cluster::ClusterNodeImpl > impl)</td></tr> |
| <tr class="memdesc:ab9fa8bdf0a54bd1486999a3afc70aa3b"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="classignite_1_1cluster_1_1ClusterNode.html#ab9fa8bdf0a54bd1486999a3afc70aa3b">More...</a><br /></td></tr> |
| <tr class="separator:ab9fa8bdf0a54bd1486999a3afc70aa3b"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a06ec25d40db080aed39c1674c33ae373"><td class="memItemLeft" align="right" valign="top">const std::vector< std::string > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cluster_1_1ClusterNode.html#a06ec25d40db080aed39c1674c33ae373">GetAddresses</a> () const</td></tr> |
| <tr class="memdesc:a06ec25d40db080aed39c1674c33ae373"><td class="mdescLeft"> </td><td class="mdescRight">Get collection of addresses this node is known by. <a href="classignite_1_1cluster_1_1ClusterNode.html#a06ec25d40db080aed39c1674c33ae373">More...</a><br /></td></tr> |
| <tr class="separator:a06ec25d40db080aed39c1674c33ae373"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a6d33340f5eebf8d11780593b43f973f6"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cluster_1_1ClusterNode.html#a6d33340f5eebf8d11780593b43f973f6">IsAttributeSet</a> (std::string name) const</td></tr> |
| <tr class="memdesc:a6d33340f5eebf8d11780593b43f973f6"><td class="mdescLeft"> </td><td class="mdescRight">Check if node attribute is set. <a href="classignite_1_1cluster_1_1ClusterNode.html#a6d33340f5eebf8d11780593b43f973f6">More...</a><br /></td></tr> |
| <tr class="separator:a6d33340f5eebf8d11780593b43f973f6"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a45d3c90df5cb5261e3166fc2ade130b0"><td class="memTemplParams" colspan="2">template<typename T > </td></tr> |
| <tr class="memitem:a45d3c90df5cb5261e3166fc2ade130b0"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classignite_1_1cluster_1_1ClusterNode.html#a45d3c90df5cb5261e3166fc2ade130b0">GetAttribute</a> (std::string name) const</td></tr> |
| <tr class="memdesc:a45d3c90df5cb5261e3166fc2ade130b0"><td class="mdescLeft"> </td><td class="mdescRight">Get a node attribute. <a href="classignite_1_1cluster_1_1ClusterNode.html#a45d3c90df5cb5261e3166fc2ade130b0">More...</a><br /></td></tr> |
| <tr class="separator:a45d3c90df5cb5261e3166fc2ade130b0"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aa539f773192c03b42acb3c5e0281b355"><td class="memItemLeft" align="right" valign="top">std::vector< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cluster_1_1ClusterNode.html#aa539f773192c03b42acb3c5e0281b355">GetAttributes</a> () const</td></tr> |
| <tr class="memdesc:aa539f773192c03b42acb3c5e0281b355"><td class="mdescLeft"> </td><td class="mdescRight">Get collection of all Cluster Node attributes names. <a href="classignite_1_1cluster_1_1ClusterNode.html#aa539f773192c03b42acb3c5e0281b355">More...</a><br /></td></tr> |
| <tr class="separator:aa539f773192c03b42acb3c5e0281b355"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a9ccbf66846086678bbc17c9f0a80b917"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cluster_1_1ClusterNode.html#a9ccbf66846086678bbc17c9f0a80b917">GetConsistentId</a> () const</td></tr> |
| <tr class="memdesc:a9ccbf66846086678bbc17c9f0a80b917"><td class="mdescLeft"> </td><td class="mdescRight">Get Cluster Node consistent ID. <a href="classignite_1_1cluster_1_1ClusterNode.html#a9ccbf66846086678bbc17c9f0a80b917">More...</a><br /></td></tr> |
| <tr class="separator:a9ccbf66846086678bbc17c9f0a80b917"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ac6de92266129bdbcaa4dcb3b1e2c97c3"><td class="memItemLeft" align="right" valign="top">const std::vector< std::string > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cluster_1_1ClusterNode.html#ac6de92266129bdbcaa4dcb3b1e2c97c3">GetHostNames</a> () const</td></tr> |
| <tr class="memdesc:ac6de92266129bdbcaa4dcb3b1e2c97c3"><td class="mdescLeft"> </td><td class="mdescRight">Get collection of host names this node is known by. <a href="classignite_1_1cluster_1_1ClusterNode.html#ac6de92266129bdbcaa4dcb3b1e2c97c3">More...</a><br /></td></tr> |
| <tr class="separator:ac6de92266129bdbcaa4dcb3b1e2c97c3"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a25db252bc63707a17ef1dac359a802eb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1Guid.html">Guid</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cluster_1_1ClusterNode.html#a25db252bc63707a17ef1dac359a802eb">GetId</a> () const</td></tr> |
| <tr class="memdesc:a25db252bc63707a17ef1dac359a802eb"><td class="mdescLeft"> </td><td class="mdescRight">Get globally unique node ID. <a href="classignite_1_1cluster_1_1ClusterNode.html#a25db252bc63707a17ef1dac359a802eb">More...</a><br /></td></tr> |
| <tr class="separator:a25db252bc63707a17ef1dac359a802eb"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a9a3b62d6b3af253c23a881f8e153582d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cluster_1_1ClusterNode.html#a9a3b62d6b3af253c23a881f8e153582d">IsClient</a> () const</td></tr> |
| <tr class="memdesc:a9a3b62d6b3af253c23a881f8e153582d"><td class="mdescLeft"> </td><td class="mdescRight">Check if cluster node started in client mode. <a href="classignite_1_1cluster_1_1ClusterNode.html#a9a3b62d6b3af253c23a881f8e153582d">More...</a><br /></td></tr> |
| <tr class="separator:a9a3b62d6b3af253c23a881f8e153582d"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a341ecdca1c04820e1f27fc9e17341e7f"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cluster_1_1ClusterNode.html#a341ecdca1c04820e1f27fc9e17341e7f">IsDaemon</a> () const</td></tr> |
| <tr class="memdesc:a341ecdca1c04820e1f27fc9e17341e7f"><td class="mdescLeft"> </td><td class="mdescRight">Check whether or not this node is a daemon. <a href="classignite_1_1cluster_1_1ClusterNode.html#a341ecdca1c04820e1f27fc9e17341e7f">More...</a><br /></td></tr> |
| <tr class="separator:a341ecdca1c04820e1f27fc9e17341e7f"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a258f2340d5a72b34ef6b1203376bece9"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cluster_1_1ClusterNode.html#a258f2340d5a72b34ef6b1203376bece9">IsLocal</a> () const</td></tr> |
| <tr class="memdesc:a258f2340d5a72b34ef6b1203376bece9"><td class="mdescLeft"> </td><td class="mdescRight">Check whether or not this node is a local node. <a href="classignite_1_1cluster_1_1ClusterNode.html#a258f2340d5a72b34ef6b1203376bece9">More...</a><br /></td></tr> |
| <tr class="separator:a258f2340d5a72b34ef6b1203376bece9"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a97416fddacc910c33930297c42837e67"><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cluster_1_1ClusterNode.html#a97416fddacc910c33930297c42837e67">GetOrder</a> () const</td></tr> |
| <tr class="memdesc:a97416fddacc910c33930297c42837e67"><td class="mdescLeft"> </td><td class="mdescRight">Node order within grid topology. <a href="classignite_1_1cluster_1_1ClusterNode.html#a97416fddacc910c33930297c42837e67">More...</a><br /></td></tr> |
| <tr class="separator:a97416fddacc910c33930297c42837e67"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ae90bd840eacb8a765a7d7a092dd39ebe"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structignite_1_1IgniteProductVersion.html">IgniteProductVersion</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cluster_1_1ClusterNode.html#ae90bd840eacb8a765a7d7a092dd39ebe">GetVersion</a> () const</td></tr> |
| <tr class="memdesc:ae90bd840eacb8a765a7d7a092dd39ebe"><td class="mdescLeft"> </td><td class="mdescRight">Get node version. <a href="classignite_1_1cluster_1_1ClusterNode.html#ae90bd840eacb8a765a7d7a092dd39ebe">More...</a><br /></td></tr> |
| <tr class="separator:ae90bd840eacb8a765a7d7a092dd39ebe"><td class="memSeparator" colspan="2"> </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:a40423141e36ed3aeb78265ef111bdc2d"><td class="memItemLeft" align="right" valign="top">IGNITE_IMPORT_EXPORT bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cluster_1_1ClusterNode.html#a40423141e36ed3aeb78265ef111bdc2d">operator<</a> (const <a class="el" href="classignite_1_1cluster_1_1ClusterNode.html">ClusterNode</a> &lnode, const <a class="el" href="classignite_1_1cluster_1_1ClusterNode.html">ClusterNode</a> &rnode)</td></tr> |
| <tr class="memdesc:a40423141e36ed3aeb78265ef111bdc2d"><td class="mdescLeft"> </td><td class="mdescRight">Define "less" operator to allow Cluster Node usage as STL container key. <a href="classignite_1_1cluster_1_1ClusterNode.html#a40423141e36ed3aeb78265ef111bdc2d">More...</a><br /></td></tr> |
| <tr class="separator:a40423141e36ed3aeb78265ef111bdc2d"><td class="memSeparator" colspan="2"> </td></tr> |
| </table> |
| <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| <div class="textblock"><p>Interface representing a single cluster node. </p> |
| <p>Use GetAttribute(String) or GetMetrics() to get static and dynamic information about cluster nodes. </p> |
| </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| <a id="ab9fa8bdf0a54bd1486999a3afc70aa3b"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#ab9fa8bdf0a54bd1486999a3afc70aa3b">◆ </a></span>ClusterNode()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">ignite::cluster::ClusterNode::ClusterNode </td> |
| <td>(</td> |
| <td class="paramtype">common::concurrent::SharedPointer< ignite::impl::cluster::ClusterNodeImpl > </td> |
| <td class="paramname"><em>impl</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Constructor. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">impl</td><td>Pointer to cluster node implementation. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <h2 class="groupheader">Member Function Documentation</h2> |
| <a id="a06ec25d40db080aed39c1674c33ae373"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a06ec25d40db080aed39c1674c33ae373">◆ </a></span>GetAddresses()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">const std::vector< std::string > & ignite::cluster::ClusterNode::GetAddresses </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Get collection of addresses this node is known by. </p> |
| <dl class="section return"><dt>Returns</dt><dd>Collection of addresses this node is known by. </dd></dl> |
| |
| </div> |
| </div> |
| <a id="a45d3c90df5cb5261e3166fc2ade130b0"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a45d3c90df5cb5261e3166fc2ade130b0">◆ </a></span>GetAttribute()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<typename T > </div> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">T ignite::cluster::ClusterNode::GetAttribute </td> |
| <td>(</td> |
| <td class="paramtype">std::string </td> |
| <td class="paramname"><em>name</em></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>Get a node attribute. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">name</td><td>Node attribute name. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="section return"><dt>Returns</dt><dd>Node attribute.</dd></dl> |
| <dl class="exception"><dt>Exceptions</dt><dd> |
| <table class="exception"> |
| <tr><td class="paramname"><a class="el" href="classignite_1_1IgniteError.html" title="Ignite error information.">IgniteError</a></td><td>in case of attribute name does not exist or if template type is not compatible with attribute. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a id="aa539f773192c03b42acb3c5e0281b355"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#aa539f773192c03b42acb3c5e0281b355">◆ </a></span>GetAttributes()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">std::vector< std::string > ignite::cluster::ClusterNode::GetAttributes </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Get collection of all Cluster Node attributes names. </p> |
| <dl class="section return"><dt>Returns</dt><dd>Node attributes names collection. </dd></dl> |
| |
| </div> |
| </div> |
| <a id="a9ccbf66846086678bbc17c9f0a80b917"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a9ccbf66846086678bbc17c9f0a80b917">◆ </a></span>GetConsistentId()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">std::string ignite::cluster::ClusterNode::GetConsistentId </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Get Cluster Node consistent ID. </p> |
| <dl class="section return"><dt>Returns</dt><dd>Cluster Node consistent ID. </dd></dl> |
| |
| </div> |
| </div> |
| <a id="ac6de92266129bdbcaa4dcb3b1e2c97c3"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#ac6de92266129bdbcaa4dcb3b1e2c97c3">◆ </a></span>GetHostNames()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">const std::vector< std::string > & ignite::cluster::ClusterNode::GetHostNames </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Get collection of host names this node is known by. </p> |
| <dl class="section return"><dt>Returns</dt><dd>Collection of host names this node is known by. </dd></dl> |
| |
| </div> |
| </div> |
| <a id="a25db252bc63707a17ef1dac359a802eb"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a25db252bc63707a17ef1dac359a802eb">◆ </a></span>GetId()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classignite_1_1Guid.html">Guid</a> ignite::cluster::ClusterNode::GetId </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Get globally unique node ID. </p> |
| <p>A new ID is generated every time a node restarts</p> |
| <dl class="section return"><dt>Returns</dt><dd>Node <a class="el" href="classignite_1_1Guid.html" title="Global universally unique identifier (GUID).">Guid</a>. </dd></dl> |
| |
| </div> |
| </div> |
| <a id="a97416fddacc910c33930297c42837e67"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a97416fddacc910c33930297c42837e67">◆ </a></span>GetOrder()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">int64_t ignite::cluster::ClusterNode::GetOrder </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Node order within grid topology. </p> |
| <dl class="section return"><dt>Returns</dt><dd>Node order. </dd></dl> |
| |
| </div> |
| </div> |
| <a id="ae90bd840eacb8a765a7d7a092dd39ebe"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#ae90bd840eacb8a765a7d7a092dd39ebe">◆ </a></span>GetVersion()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">const <a class="el" href="structignite_1_1IgniteProductVersion.html">IgniteProductVersion</a> & ignite::cluster::ClusterNode::GetVersion </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Get node version. </p> |
| <dl class="section return"><dt>Returns</dt><dd>Prodcut version. </dd></dl> |
| |
| </div> |
| </div> |
| <a id="a6d33340f5eebf8d11780593b43f973f6"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a6d33340f5eebf8d11780593b43f973f6">◆ </a></span>IsAttributeSet()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">bool ignite::cluster::ClusterNode::IsAttributeSet </td> |
| <td>(</td> |
| <td class="paramtype">std::string </td> |
| <td class="paramname"><em>name</em></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Check if node attribute is set. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">name</td><td>Node attribute name. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="section return"><dt>Returns</dt><dd>True if set. </dd></dl> |
| |
| </div> |
| </div> |
| <a id="a9a3b62d6b3af253c23a881f8e153582d"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a9a3b62d6b3af253c23a881f8e153582d">◆ </a></span>IsClient()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">bool ignite::cluster::ClusterNode::IsClient </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Check if cluster node started in client mode. </p> |
| <dl class="section return"><dt>Returns</dt><dd>True if in client mode and false otherwise. </dd></dl> |
| |
| </div> |
| </div> |
| <a id="a341ecdca1c04820e1f27fc9e17341e7f"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a341ecdca1c04820e1f27fc9e17341e7f">◆ </a></span>IsDaemon()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">bool ignite::cluster::ClusterNode::IsDaemon </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Check whether or not this node is a daemon. </p> |
| <dl class="section return"><dt>Returns</dt><dd>True if is daemon and false otherwise. </dd></dl> |
| |
| </div> |
| </div> |
| <a id="a258f2340d5a72b34ef6b1203376bece9"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a258f2340d5a72b34ef6b1203376bece9">◆ </a></span>IsLocal()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">bool ignite::cluster::ClusterNode::IsLocal </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Check whether or not this node is a local node. </p> |
| <dl class="section return"><dt>Returns</dt><dd>True if is local and false otherwise. </dd></dl> |
| |
| </div> |
| </div> |
| <h2 class="groupheader">Friends And Related Function Documentation</h2> |
| <a id="a40423141e36ed3aeb78265ef111bdc2d"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a40423141e36ed3aeb78265ef111bdc2d">◆ </a></span>operator<</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">IGNITE_IMPORT_EXPORT bool operator< </td> |
| <td>(</td> |
| <td class="paramtype">const <a class="el" href="classignite_1_1cluster_1_1ClusterNode.html">ClusterNode</a> & </td> |
| <td class="paramname"><em>lnode</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">const <a class="el" href="classignite_1_1cluster_1_1ClusterNode.html">ClusterNode</a> & </td> |
| <td class="paramname"><em>rnode</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">friend</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Define "less" operator to allow Cluster Node usage as STL container key. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">lnode</td><td>Left cluster node. </td></tr> |
| <tr><td class="paramname">rnode</td><td>Right cluster node. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="section return"><dt>Returns</dt><dd>True if less. </dd></dl> |
| |
| </div> |
| </div> |
| <hr/>The documentation for this class was generated from the following files:<ul> |
| <li><a class="el" href="cluster__node_8h_source.html">cluster_node.h</a></li> |
| <li>cluster_node.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 Apache Ignite C++ by  <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/> |
| </a> 1.8.17 |
| </small></address> |
| </body> |
| </html> |