| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <META NAME="ROBOTS" CONTENT="NOINDEX"> |
| <link rel="canonical" href="https://ignite.apache.org/releases/1.0.0-rc3/javadoc/org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html" /> |
| <!-- Generated by javadoc (version 1.7.0_21) on Tue Mar 24 10:27:32 MSK 2015 --> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>TcpClientDiscoverySpi (Ignite 1.0.0-RC3)</title> |
| <meta name="date" content="2015-03-24"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../javadoc.css" title="Style"> |
| <link rel='shortcut icon' href='http://gridgain.com/wp-content/uploads/2014/09/favicon.ico'/> |
| <link type='text/css' rel='stylesheet' href='http://gridgain.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/styles/shCore.css'/> |
| <link type='text/css' rel='stylesheet' href='http://gridgain.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/styles/shThemeDefault.css'/> |
| <script type='text/javascript' src='http://gridgain.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shCore.js'></script> |
| <script type='text/javascript' src='http://gridgain.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shLegacy.js'></script> |
| <script type='text/javascript' src='http://gridgain.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushJava.js'></script> |
| <script type='text/javascript' src='http://gridgain.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushPlain.js'></script> |
| <script type='text/javascript' src='http://gridgain.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushJScript.js'></script> |
| <script type='text/javascript' src='http://gridgain.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushBash.js'></script> |
| <script type='text/javascript' src='http://gridgain.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushXml.js'></script> |
| <script type='text/javascript' src='http://gridgain.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushScala.js'></script> |
| <script type='text/javascript' src='http://gridgain.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushGroovy.js'></script> |
| |
| <script> |
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); |
| |
| ga('create', 'UA-61232409-1', 'auto'); |
| ga('send', 'pageview'); |
| |
| </script></head> |
| |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="TcpClientDiscoverySpi (Ignite 1.0.0-RC3)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/TcpClientDiscoverySpi.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><em>Apache Ignite - In-Memory Data Fabric</em></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li>Prev Class</li> |
| <li><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html" target="_top">Frames</a></li> |
| <li><a href="TcpClientDiscoverySpi.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.ignite.spi.discovery.tcp</div> |
| <h2 title="Class TcpClientDiscoverySpi" class="title">Class TcpClientDiscoverySpi</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html" title="class in org.apache.ignite.spi">org.apache.ignite.spi.IgniteSpiAdapter</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.ignite.spi.discovery.tcp.TcpClientDiscoverySpi</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpi</a>, <a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp">TcpClientDiscoverySpiMBean</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpi.html" title="interface in org.apache.ignite.spi">IgniteSpi</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiManagementMBean.html" title="interface in org.apache.ignite.spi">IgniteSpiManagementMBean</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre><a href="../../../../../../org/apache/ignite/spi/IgniteSpiMultipleInstancesSupport.html" title="annotation in org.apache.ignite.spi">@IgniteSpiMultipleInstancesSupport</a>(<a href="../../../../../../org/apache/ignite/spi/IgniteSpiMultipleInstancesSupport.html#value()">value</a>=true) |
| <a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpiOrderSupport.html" title="annotation in org.apache.ignite.spi.discovery">@DiscoverySpiOrderSupport</a>(<a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpiOrderSupport.html#value()">value</a>=true) |
| <a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpiHistorySupport.html" title="annotation in org.apache.ignite.spi.discovery">@DiscoverySpiHistorySupport</a>(<a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpiHistorySupport.html#value()">value</a>=true) |
| public class <span class="strong">TcpClientDiscoverySpi</span> |
| extends <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html" title="class in org.apache.ignite.spi">IgniteSpiAdapter</a> |
| implements <a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp">TcpClientDiscoverySpiMBean</a></pre> |
| <div class="block">Client discovery SPI implementation that uses TCP/IP for node discovery. |
| <p> |
| This discovery SPI requires at least on server node configured with |
| <a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.html" title="class in org.apache.ignite.spi.discovery.tcp"><code>TcpDiscoverySpi</code></a>. It will try to connect to random IP taken from |
| <a href="../../../../../../org/apache/ignite/spi/discovery/tcp/ipfinder/TcpDiscoveryIpFinder.html" title="interface in org.apache.ignite.spi.discovery.tcp.ipfinder"><code>TcpDiscoveryIpFinder</code></a> which should point to one of these server |
| nodes and will maintain connection only with this node (will not enter the ring). |
| If this connection is broken, it will try to reconnect using addresses from |
| the same IP finder.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#ackTimeout">ackTimeout</a></strong></code> |
| <div class="block">Message acknowledgement timeout.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#DFLT_ACK_TIMEOUT">DFLT_ACK_TIMEOUT</a></strong></code> |
| <div class="block">Default timeout for receiving message acknowledgement in milliseconds (value is <tt>5,000ms</tt>).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#DFLT_DISCONNECT_CHECK_INT">DFLT_DISCONNECT_CHECK_INT</a></strong></code> |
| <div class="block">Default disconnect check interval.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#DFLT_HEARTBEAT_FREQ">DFLT_HEARTBEAT_FREQ</a></strong></code> |
| <div class="block">Default heartbeat messages issuing frequency (value is <tt>2,000ms</tt>).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#DFLT_NETWORK_TIMEOUT">DFLT_NETWORK_TIMEOUT</a></strong></code> |
| <div class="block">Default network timeout in milliseconds (value is <tt>5,000ms</tt>).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#DFLT_PORT">DFLT_PORT</a></strong></code> |
| <div class="block">Default port to listen (value is <tt>47500</tt>).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#DFLT_SOCK_TIMEOUT">DFLT_SOCK_TIMEOUT</a></strong></code> |
| <div class="block">Default socket operations timeout in milliseconds (value is <tt>2,000ms</tt>).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#DFLT_THREAD_PRI">DFLT_THREAD_PRI</a></strong></code> |
| <div class="block">Default value for thread priority (value is <tt>10</tt>).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#DFLT_TOP_HISTORY_SIZE">DFLT_TOP_HISTORY_SIZE</a></strong></code> |
| <div class="block">Default size of topology snapshots history.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpiDataExchange.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpiDataExchange</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#exchange">exchange</a></strong></code> |
| <div class="block">Data exchange.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#gridStartTime">gridStartTime</a></strong></code> |
| <div class="block">Start time of the very first grid node.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#hbFreq">hbFreq</a></strong></code> |
| <div class="block">Heartbeat messages issuing frequency.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../../org/apache/ignite/spi/discovery/tcp/ipfinder/TcpDiscoveryIpFinder.html" title="interface in org.apache.ignite.spi.discovery.tcp.ipfinder">TcpDiscoveryIpFinder</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#ipFinder">ipFinder</a></strong></code> |
| <div class="block">IP finder.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#locAddr">locAddr</a></strong></code> |
| <div class="block">Local address.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/net/InetAddress.html?is-external=true" title="class or interface in java.net">InetAddress</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#locHost">locHost</a></strong></code> |
| <div class="block">Local host.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected org.apache.ignite.spi.discovery.tcp.internal.TcpDiscoveryNode</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#locNode">locNode</a></strong></code> |
| <div class="block">Local node.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'><</span><a href="http://docs.oracle.com/javase/7/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#locNodeAddrs">locNodeAddrs</a></strong></code> |
| <div class="block">Internal and external addresses of local node.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><span class='angle_bracket'><</span><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#locNodeAttrs">locNodeAttrs</a></strong></code> |
| <div class="block">Local node attributes.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../../org/apache/ignite/lang/IgniteProductVersion.html" title="class in org.apache.ignite.lang">IgniteProductVersion</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#locNodeVer">locNodeVer</a></strong></code> |
| <div class="block">Local node version.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../../org/apache/ignite/IgniteLogger.html" title="interface in org.apache.ignite">IgniteLogger</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#log">log</a></strong></code> |
| <div class="block">Logger.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpiListener.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpiListener</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#lsnr">lsnr</a></strong></code> |
| <div class="block">Grid discovery listener.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../../org/apache/ignite/marshaller/Marshaller.html" title="interface in org.apache.ignite.marshaller">Marshaller</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#marsh">marsh</a></strong></code> |
| <div class="block">Marshaller.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../../org/apache/ignite/spi/discovery/DiscoveryMetricsProvider.html" title="interface in org.apache.ignite.spi.discovery">DiscoveryMetricsProvider</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#metricsProvider">metricsProvider</a></strong></code> |
| <div class="block">Metrics provider.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#netTimeout">netTimeout</a></strong></code> |
| <div class="block">Network timeout.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#RES_CONTINUE_JOIN">RES_CONTINUE_JOIN</a></strong></code> |
| <div class="block">Response CONTINUE JOIN.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#RES_OK">RES_OK</a></strong></code> |
| <div class="block">Response OK.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#RES_WAIT">RES_WAIT</a></strong></code> |
| <div class="block">Response WAIT.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#sockTimeout">sockTimeout</a></strong></code> |
| <div class="block">Socket operations timeout.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpiAdapter.SocketTimeoutWorker</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#sockTimeoutWorker">sockTimeoutWorker</a></strong></code> |
| <div class="block">Socket timeout worker.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected org.apache.ignite.spi.discovery.tcp.internal.TcpDiscoverySpiState</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#spiState">spiState</a></strong></code> |
| <div class="block">Discovery state.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected org.apache.ignite.spi.discovery.tcp.internal.TcpDiscoveryStatistics</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#stats">stats</a></strong></code> |
| <div class="block">Statistics.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#threadPri">threadPri</a></strong></code> |
| <div class="block">Thread priority for all threads started by SPI.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#topHistSize">topHistSize</a></strong></code> |
| <div class="block">Size of topology snapshots history.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields_inherited_from_class_org.apache.ignite.spi.IgniteSpiAdapter"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.apache.ignite.spi.<a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html" title="class in org.apache.ignite.spi">IgniteSpiAdapter</a></h3> |
| <code><a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#ignite">ignite</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#TcpClientDiscoverySpi()">TcpClientDiscoverySpi</a></strong>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi">IgniteSpiException</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#authenticationFailedError(org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAuthFailedMessage)">authenticationFailedError</a></strong>(org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAuthFailedMessage msg)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi">IgniteSpiException</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#checkFailedError(org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryCheckFailedMessage)">checkFailedError</a></strong>(org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryCheckFailedMessage msg)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#disconnect()">disconnect</a></strong>()</code> |
| <div class="block">Tells discovery SPI to disconnect from topology.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi">IgniteSpiException</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#duplicateIdError(org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryDuplicateIdMessage)">duplicateIdError</a></strong>(org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryDuplicateIdMessage msg)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#ensured(org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractMessage)">ensured</a></strong>(org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractMessage msg)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getAckTimeout()">getAckTimeout</a></strong>()</code> |
| <div class="block">Gets message acknowledgement timeout.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getAvgMessageProcessingTime()">getAvgMessageProcessingTime</a></strong>()</code> |
| <div class="block">Gets avg message processing time.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getDisconnectCheckInterval()">getDisconnectCheckInterval</a></strong>()</code> |
| <div class="block">Gets disconnect check interval.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getGridStartTime()">getGridStartTime</a></strong>()</code> |
| <div class="block">Gets start time of the very first node in the grid.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getHeartbeatFrequency()">getHeartbeatFrequency</a></strong>()</code> |
| <div class="block">Gets delay between heartbeat messages sent by coordinator.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/ipfinder/TcpDiscoveryIpFinder.html" title="interface in org.apache.ignite.spi.discovery.tcp.ipfinder">TcpDiscoveryIpFinder</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getIpFinder()">getIpFinder</a></strong>()</code> |
| <div class="block">Gets IP finder for IP addresses sharing and storing.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getIpFinderFormatted()">getIpFinderFormatted</a></strong>()</code> |
| <div class="block">Gets <a href="../../../../../../org/apache/ignite/spi/discovery/tcp/ipfinder/TcpDiscoveryIpFinder.html" title="interface in org.apache.ignite.spi.discovery.tcp.ipfinder"><code>TcpDiscoveryIpFinder</code></a> (string representation).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getLocalAddress()">getLocalAddress</a></strong>()</code> |
| <div class="block">Gets local address that was set to SPI with <a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#setLocalAddress(java.lang.String)"><code>setLocalAddress(String)</code></a> method.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getLocalNode()">getLocalNode</a></strong>()</code> |
| <div class="block">Gets local node.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getMaxMessageProcessingTime()">getMaxMessageProcessingTime</a></strong>()</code> |
| <div class="block">Gets max message processing time.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getMessageWorkerQueueSize()">getMessageWorkerQueueSize</a></strong>()</code> |
| <div class="block">Gets message worker queue current size.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getNetworkTimeout()">getNetworkTimeout</a></strong>()</code> |
| <div class="block">Gets network timeout.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getNode(java.util.UUID)">getNode</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a> nodeId)</code> |
| <div class="block">Gets node by ID.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getNodesFailed()">getNodesFailed</a></strong>()</code> |
| <div class="block">Gets failed nodes count.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getNodesJoined()">getNodesJoined</a></strong>()</code> |
| <div class="block">Gets joined nodes count.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getNodesLeft()">getNodesLeft</a></strong>()</code> |
| <div class="block">Gets left nodes count.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><span class='angle_bracket'><</span><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getProcessedMessages()">getProcessedMessages</a></strong>()</code> |
| <div class="block">Gets processed messages counts (grouped by type).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><span class='angle_bracket'><</span><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getReceivedMessages()">getReceivedMessages</a></strong>()</code> |
| <div class="block">Gets received messages counts (grouped by type).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'><</span><a href="../../../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getRemoteNodes()">getRemoteNodes</a></strong>()</code> |
| <div class="block">Gets collection of remote nodes in grid or empty collection if no remote nodes found.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getSocketTimeout()">getSocketTimeout</a></strong>()</code> |
| <div class="block">Gets socket timeout.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getThreadPriority()">getThreadPriority</a></strong>()</code> |
| <div class="block">Gets thread priority.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getTopHistorySize()">getTopHistorySize</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getTotalProcessedMessages()">getTotalProcessedMessages</a></strong>()</code> |
| <div class="block">Gets total processed messages count.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#getTotalReceivedMessages()">getTotalReceivedMessages</a></strong>()</code> |
| <div class="block">Gets total received messages count.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'><</span><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#injectables()">injectables</a></strong>()</code> |
| <div class="block">This method returns SPI internal instances that need to be injected as well.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#injectResources(org.apache.ignite.Ignite)">injectResources</a></strong>(<a href="../../../../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a> ignite)</code> |
| <div class="block">Inject resources</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#onContextDestroyed0()">onContextDestroyed0</a></strong>()</code> |
| <div class="block">Method to be called in the beginning of onContextDestroyed() method.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#onContextInitialized0(org.apache.ignite.spi.IgniteSpiContext)">onContextInitialized0</a></strong>(<a href="../../../../../../org/apache/ignite/spi/IgniteSpiContext.html" title="interface in org.apache.ignite.spi">IgniteSpiContext</a> spiCtx)</code> |
| <div class="block">Method to be called in the end of onContextInitialized method.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/net/Socket.html?is-external=true" title="class or interface in java.net">Socket</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#openSocket(java.net.InetSocketAddress)">openSocket</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a> sockAddr)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#pingNode(java.util.UUID)">pingNode</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a> nodeId)</code> |
| <div class="block">Pings the remote node to see if it's alive.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> T</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#readMessage(java.net.Socket, java.io.InputStream, long)">readMessage</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/Socket.html?is-external=true" title="class or interface in java.net">Socket</a> sock, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> in, |
| long timeout)</code> |
| <div class="block">Reads message from the socket limiting read time.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#readReceipt(java.net.Socket, long)">readReceipt</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/Socket.html?is-external=true" title="class or interface in java.net">Socket</a> sock, |
| long timeout)</code> |
| <div class="block">Reads message delivery receipt from the socket.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'><</span><a href="http://docs.oracle.com/javase/7/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#registeredAddresses()">registeredAddresses</a></strong>()</code> |
| <div class="block">Gets addresses registered in the IP finder, initializes addresses having no |
| port (or 0 port) with <a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#DFLT_PORT"><code>DFLT_PORT</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'><</span><a href="http://docs.oracle.com/javase/7/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#resolvedAddresses()">resolvedAddresses</a></strong>()</code> |
| <div class="block">Resolves addresses registered in the IP finder, removes duplicates and local host |
| address and returns the collection of.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#sendCustomEvent(java.io.Serializable)">sendCustomEvent</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a> evt)</code> |
| <div class="block">Sends custom message across the ring.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#setAckTimeout(long)">setAckTimeout</a></strong>(long ackTimeout)</code> |
| <div class="block">Sets timeout for receiving acknowledgement for sent message.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#setAuthenticator(org.apache.ignite.spi.discovery.DiscoverySpiNodeAuthenticator)">setAuthenticator</a></strong>(<a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpiNodeAuthenticator.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpiNodeAuthenticator</a> auth)</code> |
| <div class="block">Sets discovery SPI node authenticator.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#setDataExchange(org.apache.ignite.spi.discovery.DiscoverySpiDataExchange)">setDataExchange</a></strong>(<a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpiDataExchange.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpiDataExchange</a> exchange)</code> |
| <div class="block">Sets a handler for initial data exchange between Ignite nodes.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#setDisconnectCheckInterval(long)">setDisconnectCheckInterval</a></strong>(long disconnectCheckInt)</code> |
| <div class="block">Sets disconnect check interval.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#setHeartbeatFrequency(long)">setHeartbeatFrequency</a></strong>(long hbFreq)</code> |
| <div class="block">Sets delay between issuing of heartbeat messages.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#setIpFinder(org.apache.ignite.spi.discovery.tcp.ipfinder.TcpDiscoveryIpFinder)">setIpFinder</a></strong>(<a href="../../../../../../org/apache/ignite/spi/discovery/tcp/ipfinder/TcpDiscoveryIpFinder.html" title="interface in org.apache.ignite.spi.discovery.tcp.ipfinder">TcpDiscoveryIpFinder</a> ipFinder)</code> |
| <div class="block">Sets IP finder for IP addresses sharing and storing.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#setListener(org.apache.ignite.spi.discovery.DiscoverySpiListener)">setListener</a></strong>(<a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpiListener.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpiListener</a> lsnr)</code> |
| <div class="block">Sets a listener for discovery events.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#setLocalAddress(java.lang.String)">setLocalAddress</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> locAddr)</code> |
| <div class="block">Sets local host IP address that discovery SPI uses.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#setMetricsProvider(org.apache.ignite.spi.discovery.DiscoveryMetricsProvider)">setMetricsProvider</a></strong>(<a href="../../../../../../org/apache/ignite/spi/discovery/DiscoveryMetricsProvider.html" title="interface in org.apache.ignite.spi.discovery">DiscoveryMetricsProvider</a> metricsProvider)</code> |
| <div class="block">Sets discovery metrics provider.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#setNetworkTimeout(long)">setNetworkTimeout</a></strong>(long netTimeout)</code> |
| <div class="block">Sets maximum network timeout to use for network operations.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#setNodeAttributes(java.util.Map, org.apache.ignite.lang.IgniteProductVersion)">setNodeAttributes</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><span class='angle_bracket'><</span><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a><span class='angle_bracket'>></span> attrs, |
| <a href="../../../../../../org/apache/ignite/lang/IgniteProductVersion.html" title="class in org.apache.ignite.lang">IgniteProductVersion</a> ver)</code> |
| <div class="block">Sets node attributes and node version which will be distributed in grid during |
| join process.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#setSocketTimeout(long)">setSocketTimeout</a></strong>(long sockTimeout)</code> |
| <div class="block">Sets socket operations timeout.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#setThreadPriority(int)">setThreadPriority</a></strong>(int threadPri)</code> |
| <div class="block">Sets thread priority.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#setTopHistorySize(int)">setTopHistorySize</a></strong>(int topHistSize)</code> |
| <div class="block">Sets size of topology snapshots history.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#spiStart(java.lang.String)">spiStart</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> gridName)</code> |
| <div class="block">This method is called to start SPI.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#spiStop()">spiStop</a></strong>()</code> |
| <div class="block">This method is called to stop SPI.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#writeToSocket(java.net.Socket, byte[])">writeToSocket</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/Socket.html?is-external=true" title="class or interface in java.net">Socket</a> sock, |
| byte[] data)</code> |
| <div class="block">Writes message to the socket.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#writeToSocket(java.net.Socket, int)">writeToSocket</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/Socket.html?is-external=true" title="class or interface in java.net">Socket</a> sock, |
| int res)</code> |
| <div class="block">Writes response to the socket.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#writeToSocket(java.net.Socket, org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractMessage)">writeToSocket</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/Socket.html?is-external=true" title="class or interface in java.net">Socket</a> sock, |
| org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractMessage msg)</code> |
| <div class="block">Writes message to the socket.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#writeToSocket(java.net.Socket, org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractMessage, org.apache.ignite.internal.util.io.GridByteArrayOutputStream)">writeToSocket</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/Socket.html?is-external=true" title="class or interface in java.net">Socket</a> sock, |
| org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractMessage msg, |
| org.apache.ignite.internal.util.io.GridByteArrayOutputStream bout)</code> |
| <div class="block">Writes message to the socket.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.apache.ignite.spi.IgniteSpiAdapter"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.ignite.spi.<a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html" title="class in org.apache.ignite.spi">IgniteSpiAdapter</a></h3> |
| <code><a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#assertParameter(boolean, java.lang.String)">assertParameter</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#checkConfigurationConsistency0(org.apache.ignite.spi.IgniteSpiContext, org.apache.ignite.cluster.ClusterNode, boolean)">checkConfigurationConsistency0</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#configInfo(java.lang.String, java.lang.Object)">configInfo</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#createSpiAttributeName(java.lang.String)">createSpiAttributeName</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#getConsistentAttributeNames()">getConsistentAttributeNames</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#getExceptionRegistry()">getExceptionRegistry</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#getIgniteHome()">getIgniteHome</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#getLocalNodeId()">getLocalNodeId</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#getName()">getName</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#getNodeAttributes()">getNodeAttributes</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#getSpiContext()">getSpiContext</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#getStartTimestamp()">getStartTimestamp</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#getStartTimestampFormatted()">getStartTimestampFormatted</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#getUpTime()">getUpTime</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#getUpTimeFormatted()">getUpTimeFormatted</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#onContextDestroyed()">onContextDestroyed</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#onContextInitialized(org.apache.ignite.spi.IgniteSpiContext)">onContextInitialized</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#registerMBean(java.lang.String, T, java.lang.Class)">registerMBean</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#setName(java.lang.String)">setName</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#startInfo()">startInfo</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#startStopwatch()">startStopwatch</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#stopInfo()">stopInfo</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#unregisterMBean()">unregisterMBean</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.apache.ignite.spi.IgniteSpiManagementMBean"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.ignite.spi.<a href="../../../../../../org/apache/ignite/spi/IgniteSpiManagementMBean.html" title="interface in org.apache.ignite.spi">IgniteSpiManagementMBean</a></h3> |
| <code><a href="../../../../../../org/apache/ignite/spi/IgniteSpiManagementMBean.html#getIgniteHome()">getIgniteHome</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiManagementMBean.html#getLocalNodeId()">getLocalNodeId</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiManagementMBean.html#getName()">getName</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiManagementMBean.html#getStartTimestamp()">getStartTimestamp</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiManagementMBean.html#getStartTimestampFormatted()">getStartTimestampFormatted</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiManagementMBean.html#getUpTime()">getUpTime</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpiManagementMBean.html#getUpTimeFormatted()">getUpTimeFormatted</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.apache.ignite.spi.IgniteSpi"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.ignite.spi.<a href="../../../../../../org/apache/ignite/spi/IgniteSpi.html" title="interface in org.apache.ignite.spi">IgniteSpi</a></h3> |
| <code><a href="../../../../../../org/apache/ignite/spi/IgniteSpi.html#getName()">getName</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpi.html#getNodeAttributes()">getNodeAttributes</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpi.html#onContextDestroyed()">onContextDestroyed</a>, <a href="../../../../../../org/apache/ignite/spi/IgniteSpi.html#onContextInitialized(org.apache.ignite.spi.IgniteSpiContext)">onContextInitialized</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="DFLT_DISCONNECT_CHECK_INT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_DISCONNECT_CHECK_INT</h4> |
| <pre>public static final long DFLT_DISCONNECT_CHECK_INT</pre> |
| <div class="block">Default disconnect check interval.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.ignite.spi.discovery.tcp.TcpClientDiscoverySpi.DFLT_DISCONNECT_CHECK_INT">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="DFLT_PORT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_PORT</h4> |
| <pre>public static final int DFLT_PORT</pre> |
| <div class="block">Default port to listen (value is <tt>47500</tt>).</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.ignite.spi.discovery.tcp.TcpClientDiscoverySpi.DFLT_PORT">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="DFLT_SOCK_TIMEOUT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_SOCK_TIMEOUT</h4> |
| <pre>public static final long DFLT_SOCK_TIMEOUT</pre> |
| <div class="block">Default socket operations timeout in milliseconds (value is <tt>2,000ms</tt>).</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.ignite.spi.discovery.tcp.TcpClientDiscoverySpi.DFLT_SOCK_TIMEOUT">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="DFLT_ACK_TIMEOUT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_ACK_TIMEOUT</h4> |
| <pre>public static final long DFLT_ACK_TIMEOUT</pre> |
| <div class="block">Default timeout for receiving message acknowledgement in milliseconds (value is <tt>5,000ms</tt>).</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.ignite.spi.discovery.tcp.TcpClientDiscoverySpi.DFLT_ACK_TIMEOUT">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="DFLT_NETWORK_TIMEOUT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_NETWORK_TIMEOUT</h4> |
| <pre>public static final long DFLT_NETWORK_TIMEOUT</pre> |
| <div class="block">Default network timeout in milliseconds (value is <tt>5,000ms</tt>).</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.ignite.spi.discovery.tcp.TcpClientDiscoverySpi.DFLT_NETWORK_TIMEOUT">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="DFLT_THREAD_PRI"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_THREAD_PRI</h4> |
| <pre>public static final int DFLT_THREAD_PRI</pre> |
| <div class="block">Default value for thread priority (value is <tt>10</tt>).</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.ignite.spi.discovery.tcp.TcpClientDiscoverySpi.DFLT_THREAD_PRI">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="DFLT_HEARTBEAT_FREQ"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_HEARTBEAT_FREQ</h4> |
| <pre>public static final long DFLT_HEARTBEAT_FREQ</pre> |
| <div class="block">Default heartbeat messages issuing frequency (value is <tt>2,000ms</tt>).</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.ignite.spi.discovery.tcp.TcpClientDiscoverySpi.DFLT_HEARTBEAT_FREQ">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="DFLT_TOP_HISTORY_SIZE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_TOP_HISTORY_SIZE</h4> |
| <pre>public static final int DFLT_TOP_HISTORY_SIZE</pre> |
| <div class="block">Default size of topology snapshots history.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.ignite.spi.discovery.tcp.TcpClientDiscoverySpi.DFLT_TOP_HISTORY_SIZE">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="RES_OK"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>RES_OK</h4> |
| <pre>protected static final int RES_OK</pre> |
| <div class="block">Response OK.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.ignite.spi.discovery.tcp.TcpClientDiscoverySpi.RES_OK">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="RES_CONTINUE_JOIN"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>RES_CONTINUE_JOIN</h4> |
| <pre>protected static final int RES_CONTINUE_JOIN</pre> |
| <div class="block">Response CONTINUE JOIN.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.ignite.spi.discovery.tcp.TcpClientDiscoverySpi.RES_CONTINUE_JOIN">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="RES_WAIT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>RES_WAIT</h4> |
| <pre>protected static final int RES_WAIT</pre> |
| <div class="block">Response WAIT.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.ignite.spi.discovery.tcp.TcpClientDiscoverySpi.RES_WAIT">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="locAddr"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>locAddr</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> locAddr</pre> |
| <div class="block">Local address.</div> |
| </li> |
| </ul> |
| <a name="ipFinder"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ipFinder</h4> |
| <pre>protected <a href="../../../../../../org/apache/ignite/spi/discovery/tcp/ipfinder/TcpDiscoveryIpFinder.html" title="interface in org.apache.ignite.spi.discovery.tcp.ipfinder">TcpDiscoveryIpFinder</a> ipFinder</pre> |
| <div class="block">IP finder.</div> |
| </li> |
| </ul> |
| <a name="sockTimeout"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sockTimeout</h4> |
| <pre>protected long sockTimeout</pre> |
| <div class="block">Socket operations timeout.</div> |
| </li> |
| </ul> |
| <a name="ackTimeout"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ackTimeout</h4> |
| <pre>protected long ackTimeout</pre> |
| <div class="block">Message acknowledgement timeout.</div> |
| </li> |
| </ul> |
| <a name="netTimeout"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>netTimeout</h4> |
| <pre>protected long netTimeout</pre> |
| <div class="block">Network timeout.</div> |
| </li> |
| </ul> |
| <a name="threadPri"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>threadPri</h4> |
| <pre>protected int threadPri</pre> |
| <div class="block">Thread priority for all threads started by SPI.</div> |
| </li> |
| </ul> |
| <a name="hbFreq"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hbFreq</h4> |
| <pre>protected long hbFreq</pre> |
| <div class="block">Heartbeat messages issuing frequency.</div> |
| </li> |
| </ul> |
| <a name="topHistSize"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>topHistSize</h4> |
| <pre>protected int topHistSize</pre> |
| <div class="block">Size of topology snapshots history.</div> |
| </li> |
| </ul> |
| <a name="lsnr"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>lsnr</h4> |
| <pre>protected volatile <a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpiListener.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpiListener</a> lsnr</pre> |
| <div class="block">Grid discovery listener.</div> |
| </li> |
| </ul> |
| <a name="exchange"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>exchange</h4> |
| <pre>protected <a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpiDataExchange.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpiDataExchange</a> exchange</pre> |
| <div class="block">Data exchange.</div> |
| </li> |
| </ul> |
| <a name="metricsProvider"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>metricsProvider</h4> |
| <pre>protected <a href="../../../../../../org/apache/ignite/spi/discovery/DiscoveryMetricsProvider.html" title="interface in org.apache.ignite.spi.discovery">DiscoveryMetricsProvider</a> metricsProvider</pre> |
| <div class="block">Metrics provider.</div> |
| </li> |
| </ul> |
| <a name="locNodeAttrs"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>locNodeAttrs</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><span class='angle_bracket'><</span><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a><span class='angle_bracket'>></span> locNodeAttrs</pre> |
| <div class="block">Local node attributes.</div> |
| </li> |
| </ul> |
| <a name="locNodeVer"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>locNodeVer</h4> |
| <pre>protected <a href="../../../../../../org/apache/ignite/lang/IgniteProductVersion.html" title="class in org.apache.ignite.lang">IgniteProductVersion</a> locNodeVer</pre> |
| <div class="block">Local node version.</div> |
| </li> |
| </ul> |
| <a name="locNode"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>locNode</h4> |
| <pre>protected org.apache.ignite.spi.discovery.tcp.internal.TcpDiscoveryNode locNode</pre> |
| <div class="block">Local node.</div> |
| </li> |
| </ul> |
| <a name="locHost"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>locHost</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/net/InetAddress.html?is-external=true" title="class or interface in java.net">InetAddress</a> locHost</pre> |
| <div class="block">Local host.</div> |
| </li> |
| </ul> |
| <a name="locNodeAddrs"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>locNodeAddrs</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'><</span><a href="http://docs.oracle.com/javase/7/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a><span class='angle_bracket'>></span> locNodeAddrs</pre> |
| <div class="block">Internal and external addresses of local node.</div> |
| </li> |
| </ul> |
| <a name="sockTimeoutWorker"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sockTimeoutWorker</h4> |
| <pre>protected org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpiAdapter.SocketTimeoutWorker sockTimeoutWorker</pre> |
| <div class="block">Socket timeout worker.</div> |
| </li> |
| </ul> |
| <a name="spiState"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>spiState</h4> |
| <pre>protected org.apache.ignite.spi.discovery.tcp.internal.TcpDiscoverySpiState spiState</pre> |
| <div class="block">Discovery state.</div> |
| </li> |
| </ul> |
| <a name="gridStartTime"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>gridStartTime</h4> |
| <pre>protected volatile long gridStartTime</pre> |
| <div class="block">Start time of the very first grid node.</div> |
| </li> |
| </ul> |
| <a name="marsh"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>marsh</h4> |
| <pre>protected final <a href="../../../../../../org/apache/ignite/marshaller/Marshaller.html" title="interface in org.apache.ignite.marshaller">Marshaller</a> marsh</pre> |
| <div class="block">Marshaller.</div> |
| </li> |
| </ul> |
| <a name="stats"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>stats</h4> |
| <pre>protected final org.apache.ignite.spi.discovery.tcp.internal.TcpDiscoveryStatistics stats</pre> |
| <div class="block">Statistics.</div> |
| </li> |
| </ul> |
| <a name="log"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>log</h4> |
| <pre><a href="../../../../../../org/apache/ignite/resources/LoggerResource.html" title="annotation in org.apache.ignite.resources">@LoggerResource</a> |
| protected <a href="../../../../../../org/apache/ignite/IgniteLogger.html" title="interface in org.apache.ignite">IgniteLogger</a> log</pre> |
| <div class="block">Logger.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="TcpClientDiscoverySpi()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>TcpClientDiscoverySpi</h4> |
| <pre>public TcpClientDiscoverySpi()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getDisconnectCheckInterval()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDisconnectCheckInterval</h4> |
| <pre>public long getDisconnectCheckInterval()</pre> |
| <div class="block">Gets disconnect check interval.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html#getDisconnectCheckInterval()">getDisconnectCheckInterval</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp">TcpClientDiscoverySpiMBean</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Disconnect check interval.</dd></dl> |
| </li> |
| </ul> |
| <a name="setDisconnectCheckInterval(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDisconnectCheckInterval</h4> |
| <pre><a href="../../../../../../org/apache/ignite/spi/IgniteSpiConfiguration.html" title="annotation in org.apache.ignite.spi">@IgniteSpiConfiguration</a>(<a href="../../../../../../org/apache/ignite/spi/IgniteSpiConfiguration.html#optional()">optional</a>=true) |
| public void setDisconnectCheckInterval(long disconnectCheckInt)</pre> |
| <div class="block">Sets disconnect check interval.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>disconnectCheckInt</code> - Disconnect check interval.</dd></dl> |
| </li> |
| </ul> |
| <a name="getSocketTimeout()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSocketTimeout</h4> |
| <pre>public long getSocketTimeout()</pre> |
| <div class="block">Gets socket timeout.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html#getSocketTimeout()">getSocketTimeout</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp">TcpClientDiscoverySpiMBean</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Socket timeout.</dd></dl> |
| </li> |
| </ul> |
| <a name="getAckTimeout()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAckTimeout</h4> |
| <pre>public long getAckTimeout()</pre> |
| <div class="block">Gets message acknowledgement timeout.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html#getAckTimeout()">getAckTimeout</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp">TcpClientDiscoverySpiMBean</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Message acknowledgement timeout.</dd></dl> |
| </li> |
| </ul> |
| <a name="getNetworkTimeout()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getNetworkTimeout</h4> |
| <pre>public long getNetworkTimeout()</pre> |
| <div class="block">Gets network timeout.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html#getNetworkTimeout()">getNetworkTimeout</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp">TcpClientDiscoverySpiMBean</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Network timeout.</dd></dl> |
| </li> |
| </ul> |
| <a name="getThreadPriority()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getThreadPriority</h4> |
| <pre>public int getThreadPriority()</pre> |
| <div class="block">Gets thread priority. All threads within SPI will be started with it.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html#getThreadPriority()">getThreadPriority</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp">TcpClientDiscoverySpiMBean</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Thread priority.</dd></dl> |
| </li> |
| </ul> |
| <a name="getHeartbeatFrequency()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHeartbeatFrequency</h4> |
| <pre>public long getHeartbeatFrequency()</pre> |
| <div class="block">Gets delay between heartbeat messages sent by coordinator.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html#getHeartbeatFrequency()">getHeartbeatFrequency</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp">TcpClientDiscoverySpiMBean</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Time period in milliseconds.</dd></dl> |
| </li> |
| </ul> |
| <a name="getIpFinderFormatted()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIpFinderFormatted</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getIpFinderFormatted()</pre> |
| <div class="block">Gets <a href="../../../../../../org/apache/ignite/spi/discovery/tcp/ipfinder/TcpDiscoveryIpFinder.html" title="interface in org.apache.ignite.spi.discovery.tcp.ipfinder"><code>TcpDiscoveryIpFinder</code></a> (string representation).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html#getIpFinderFormatted()">getIpFinderFormatted</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp">TcpClientDiscoverySpiMBean</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>IPFinder (string representation).</dd></dl> |
| </li> |
| </ul> |
| <a name="getMessageWorkerQueueSize()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMessageWorkerQueueSize</h4> |
| <pre>public int getMessageWorkerQueueSize()</pre> |
| <div class="block">Gets message worker queue current size.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html#getMessageWorkerQueueSize()">getMessageWorkerQueueSize</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp">TcpClientDiscoverySpiMBean</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Message worker queue current size.</dd></dl> |
| </li> |
| </ul> |
| <a name="getNodesJoined()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getNodesJoined</h4> |
| <pre>public long getNodesJoined()</pre> |
| <div class="block">Gets joined nodes count.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html#getNodesJoined()">getNodesJoined</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp">TcpClientDiscoverySpiMBean</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Nodes joined count.</dd></dl> |
| </li> |
| </ul> |
| <a name="getNodesLeft()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getNodesLeft</h4> |
| <pre>public long getNodesLeft()</pre> |
| <div class="block">Gets left nodes count.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html#getNodesLeft()">getNodesLeft</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp">TcpClientDiscoverySpiMBean</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Left nodes count.</dd></dl> |
| </li> |
| </ul> |
| <a name="getNodesFailed()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getNodesFailed</h4> |
| <pre>public long getNodesFailed()</pre> |
| <div class="block">Gets failed nodes count.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html#getNodesFailed()">getNodesFailed</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp">TcpClientDiscoverySpiMBean</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Failed nodes count.</dd></dl> |
| </li> |
| </ul> |
| <a name="getAvgMessageProcessingTime()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAvgMessageProcessingTime</h4> |
| <pre>public long getAvgMessageProcessingTime()</pre> |
| <div class="block">Gets avg message processing time.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html#getAvgMessageProcessingTime()">getAvgMessageProcessingTime</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp">TcpClientDiscoverySpiMBean</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Avg message processing time.</dd></dl> |
| </li> |
| </ul> |
| <a name="getMaxMessageProcessingTime()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMaxMessageProcessingTime</h4> |
| <pre>public long getMaxMessageProcessingTime()</pre> |
| <div class="block">Gets max message processing time.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html#getMaxMessageProcessingTime()">getMaxMessageProcessingTime</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp">TcpClientDiscoverySpiMBean</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Max message processing time.</dd></dl> |
| </li> |
| </ul> |
| <a name="getTotalReceivedMessages()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTotalReceivedMessages</h4> |
| <pre>public int getTotalReceivedMessages()</pre> |
| <div class="block">Gets total received messages count.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html#getTotalReceivedMessages()">getTotalReceivedMessages</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp">TcpClientDiscoverySpiMBean</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Total received messages count.</dd></dl> |
| </li> |
| </ul> |
| <a name="getReceivedMessages()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getReceivedMessages</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><span class='angle_bracket'><</span><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a><span class='angle_bracket'>></span> getReceivedMessages()</pre> |
| <div class="block">Gets received messages counts (grouped by type).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html#getReceivedMessages()">getReceivedMessages</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp">TcpClientDiscoverySpiMBean</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Map containing message types and respective counts.</dd></dl> |
| </li> |
| </ul> |
| <a name="getTotalProcessedMessages()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTotalProcessedMessages</h4> |
| <pre>public int getTotalProcessedMessages()</pre> |
| <div class="block">Gets total processed messages count.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html#getTotalProcessedMessages()">getTotalProcessedMessages</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp">TcpClientDiscoverySpiMBean</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Total processed messages count.</dd></dl> |
| </li> |
| </ul> |
| <a name="getProcessedMessages()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getProcessedMessages</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><span class='angle_bracket'><</span><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a><span class='angle_bracket'>></span> getProcessedMessages()</pre> |
| <div class="block">Gets processed messages counts (grouped by type).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html#getProcessedMessages()">getProcessedMessages</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp">TcpClientDiscoverySpiMBean</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Map containing message types and respective counts.</dd></dl> |
| </li> |
| </ul> |
| <a name="spiStart(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>spiStart</h4> |
| <pre>public void spiStart(@Nullable |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> gridName) |
| throws <a href="../../../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi">IgniteSpiException</a></pre> |
| <div class="block">This method is called to start SPI. After this method returns |
| successfully kernel assumes that SPI is fully operational.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/IgniteSpi.html#spiStart(java.lang.String)">spiStart</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/IgniteSpi.html" title="interface in org.apache.ignite.spi">IgniteSpi</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>gridName</code> - Name of grid instance this SPI is being started for |
| (<code>null</code> for default grid).</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi">IgniteSpiException</a></code> - Throws in case of any error during SPI start.</dd></dl> |
| </li> |
| </ul> |
| <a name="spiStop()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>spiStop</h4> |
| <pre>public void spiStop() |
| throws <a href="../../../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi">IgniteSpiException</a></pre> |
| <div class="block">This method is called to stop SPI. After this method returns kernel |
| assumes that this SPI is finished and all resources acquired by it |
| are released. |
| <p> |
| <b> |
| Note that this method can be called at any point including during |
| recovery of failed start. It should make no assumptions on what state SPI |
| will be in when this method is called. |
| </b></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/IgniteSpi.html#spiStop()">spiStop</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/IgniteSpi.html" title="interface in org.apache.ignite.spi">IgniteSpi</a></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi">IgniteSpiException</a></code> - Thrown in case of any error during SPI stop.</dd></dl> |
| </li> |
| </ul> |
| <a name="injectables()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>injectables</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'><</span><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a><span class='angle_bracket'>></span> injectables()</pre> |
| <div class="block">This method returns SPI internal instances that need to be injected as well. |
| Usually these will be instances provided to SPI externally by user, e.g. during |
| SPI configuration.</div> |
| <dl> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#injectables()">injectables</a></code> in class <code><a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html" title="class in org.apache.ignite.spi">IgniteSpiAdapter</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Internal SPI objects that also need to be injected.</dd></dl> |
| </li> |
| </ul> |
| <a name="getRemoteNodes()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRemoteNodes</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'><</span><a href="../../../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a><span class='angle_bracket'>></span> getRemoteNodes()</pre> |
| <div class="block">Gets collection of remote nodes in grid or empty collection if no remote nodes found.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html#getRemoteNodes()">getRemoteNodes</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpi</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Collection of remote nodes.</dd></dl> |
| </li> |
| </ul> |
| <a name="getNode(java.util.UUID)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getNode</h4> |
| <pre>@Nullable |
| public <a href="../../../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a> getNode(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a> nodeId)</pre> |
| <div class="block">Gets node by ID.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html#getNode(java.util.UUID)">getNode</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpi</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>nodeId</code> - Node ID.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Node with given ID or <code>null</code> if node is not found.</dd></dl> |
| </li> |
| </ul> |
| <a name="pingNode(java.util.UUID)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>pingNode</h4> |
| <pre>public boolean pingNode(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a> nodeId)</pre> |
| <div class="block">Pings the remote node to see if it's alive.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html#pingNode(java.util.UUID)">pingNode</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpi</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>nodeId</code> - Node Id.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>true</code> if node alive, <code>false</code> otherwise.</dd></dl> |
| </li> |
| </ul> |
| <a name="disconnect()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>disconnect</h4> |
| <pre>public void disconnect() |
| throws <a href="../../../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi">IgniteSpiException</a></pre> |
| <div class="block">Tells discovery SPI to disconnect from topology. This is very close to calling |
| <a href="../../../../../../org/apache/ignite/spi/IgniteSpi.html#spiStop()"><code>IgniteSpi.spiStop()</code></a> with accounting that it is not a full stop, |
| but disconnect due to segmentation.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html#disconnect()">disconnect</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpi</a></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi">IgniteSpiException</a></code> - If any error occurs.</dd></dl> |
| </li> |
| </ul> |
| <a name="setAuthenticator(org.apache.ignite.spi.discovery.DiscoverySpiNodeAuthenticator)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAuthenticator</h4> |
| <pre>public void setAuthenticator(<a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpiNodeAuthenticator.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpiNodeAuthenticator</a> auth)</pre> |
| <div class="block">Sets discovery SPI node authenticator. This method is called before SPI start() method.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html#setAuthenticator(org.apache.ignite.spi.discovery.DiscoverySpiNodeAuthenticator)">setAuthenticator</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpi</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>auth</code> - Discovery SPI authenticator.</dd></dl> |
| </li> |
| </ul> |
| <a name="sendCustomEvent(java.io.Serializable)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sendCustomEvent</h4> |
| <pre>public void sendCustomEvent(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a> evt)</pre> |
| <div class="block">Sends custom message across the ring.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html#sendCustomEvent(java.io.Serializable)">sendCustomEvent</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpi</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>evt</code> - Event.</dd></dl> |
| </li> |
| </ul> |
| <a name="injectResources(org.apache.ignite.Ignite)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>injectResources</h4> |
| <pre><a href="../../../../../../org/apache/ignite/resources/IgniteInstanceResource.html" title="annotation in org.apache.ignite.resources">@IgniteInstanceResource</a> |
| protected void injectResources(<a href="../../../../../../org/apache/ignite/Ignite.html" title="interface in org.apache.ignite">Ignite</a> ignite)</pre> |
| <div class="block">Inject resources</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>ignite</code> - Ignite.</dd></dl> |
| </li> |
| </ul> |
| <a name="setLocalAddress(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setLocalAddress</h4> |
| <pre><a href="../../../../../../org/apache/ignite/spi/IgniteSpiConfiguration.html" title="annotation in org.apache.ignite.spi">@IgniteSpiConfiguration</a>(<a href="../../../../../../org/apache/ignite/spi/IgniteSpiConfiguration.html#optional()">optional</a>=true) |
| public void setLocalAddress(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> locAddr)</pre> |
| <div class="block">Sets local host IP address that discovery SPI uses. |
| <p> |
| If not provided, by default a first found non-loopback address |
| will be used. If there is no non-loopback address available, |
| then <a href="http://docs.oracle.com/javase/7/docs/api/java/net/InetAddress.html?is-external=true#getLocalHost()" title="class or interface in java.net"><code>InetAddress.getLocalHost()</code></a> will be used.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>locAddr</code> - IP address.</dd></dl> |
| </li> |
| </ul> |
| <a name="getLocalAddress()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLocalAddress</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getLocalAddress()</pre> |
| <div class="block">Gets local address that was set to SPI with <a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#setLocalAddress(java.lang.String)"><code>setLocalAddress(String)</code></a> method.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>local address.</dd></dl> |
| </li> |
| </ul> |
| <a name="getIpFinder()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIpFinder</h4> |
| <pre>public <a href="../../../../../../org/apache/ignite/spi/discovery/tcp/ipfinder/TcpDiscoveryIpFinder.html" title="interface in org.apache.ignite.spi.discovery.tcp.ipfinder">TcpDiscoveryIpFinder</a> getIpFinder()</pre> |
| <div class="block">Gets IP finder for IP addresses sharing and storing.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>IP finder for IP addresses sharing and storing.</dd></dl> |
| </li> |
| </ul> |
| <a name="setIpFinder(org.apache.ignite.spi.discovery.tcp.ipfinder.TcpDiscoveryIpFinder)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setIpFinder</h4> |
| <pre><a href="../../../../../../org/apache/ignite/spi/IgniteSpiConfiguration.html" title="annotation in org.apache.ignite.spi">@IgniteSpiConfiguration</a>(<a href="../../../../../../org/apache/ignite/spi/IgniteSpiConfiguration.html#optional()">optional</a>=true) |
| public void setIpFinder(<a href="../../../../../../org/apache/ignite/spi/discovery/tcp/ipfinder/TcpDiscoveryIpFinder.html" title="interface in org.apache.ignite.spi.discovery.tcp.ipfinder">TcpDiscoveryIpFinder</a> ipFinder)</pre> |
| <div class="block">Sets IP finder for IP addresses sharing and storing. |
| <p> |
| If not provided <a href="../../../../../../org/apache/ignite/spi/discovery/tcp/ipfinder/multicast/TcpDiscoveryMulticastIpFinder.html" title="class in org.apache.ignite.spi.discovery.tcp.ipfinder.multicast"><code>TcpDiscoveryMulticastIpFinder</code></a> will be used by default.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>ipFinder</code> - IP finder.</dd></dl> |
| </li> |
| </ul> |
| <a name="setSocketTimeout(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSocketTimeout</h4> |
| <pre><a href="../../../../../../org/apache/ignite/spi/IgniteSpiConfiguration.html" title="annotation in org.apache.ignite.spi">@IgniteSpiConfiguration</a>(<a href="../../../../../../org/apache/ignite/spi/IgniteSpiConfiguration.html#optional()">optional</a>=true) |
| public void setSocketTimeout(long sockTimeout)</pre> |
| <div class="block">Sets socket operations timeout. This timeout is used to limit connection time and |
| write-to-socket time. |
| <p> |
| Note that when running Ignite on Amazon EC2, socket timeout must be set to a value |
| significantly greater than the default (e.g. to <code>30000</code>). |
| <p> |
| If not specified, default is <a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#DFLT_SOCK_TIMEOUT"><code>DFLT_SOCK_TIMEOUT</code></a>.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>sockTimeout</code> - Socket connection timeout.</dd></dl> |
| </li> |
| </ul> |
| <a name="setAckTimeout(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAckTimeout</h4> |
| <pre><a href="../../../../../../org/apache/ignite/spi/IgniteSpiConfiguration.html" title="annotation in org.apache.ignite.spi">@IgniteSpiConfiguration</a>(<a href="../../../../../../org/apache/ignite/spi/IgniteSpiConfiguration.html#optional()">optional</a>=true) |
| public void setAckTimeout(long ackTimeout)</pre> |
| <div class="block">Sets timeout for receiving acknowledgement for sent message. |
| <p> |
| If acknowledgement is not received within this timeout, sending is considered as failed |
| and SPI tries to repeat message sending. |
| <p> |
| If not specified, default is <a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#DFLT_ACK_TIMEOUT"><code>DFLT_ACK_TIMEOUT</code></a>.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>ackTimeout</code> - Acknowledgement timeout.</dd></dl> |
| </li> |
| </ul> |
| <a name="setNetworkTimeout(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setNetworkTimeout</h4> |
| <pre><a href="../../../../../../org/apache/ignite/spi/IgniteSpiConfiguration.html" title="annotation in org.apache.ignite.spi">@IgniteSpiConfiguration</a>(<a href="../../../../../../org/apache/ignite/spi/IgniteSpiConfiguration.html#optional()">optional</a>=true) |
| public void setNetworkTimeout(long netTimeout)</pre> |
| <div class="block">Sets maximum network timeout to use for network operations. |
| <p> |
| If not specified, default is <a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#DFLT_NETWORK_TIMEOUT"><code>DFLT_NETWORK_TIMEOUT</code></a>.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>netTimeout</code> - Network timeout.</dd></dl> |
| </li> |
| </ul> |
| <a name="setThreadPriority(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setThreadPriority</h4> |
| <pre><a href="../../../../../../org/apache/ignite/spi/IgniteSpiConfiguration.html" title="annotation in org.apache.ignite.spi">@IgniteSpiConfiguration</a>(<a href="../../../../../../org/apache/ignite/spi/IgniteSpiConfiguration.html#optional()">optional</a>=true) |
| public void setThreadPriority(int threadPri)</pre> |
| <div class="block">Sets thread priority. All threads within SPI will be started with it. |
| <p> |
| If not provided, default value is <a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#DFLT_THREAD_PRI"><code>DFLT_THREAD_PRI</code></a></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>threadPri</code> - Thread priority.</dd></dl> |
| </li> |
| </ul> |
| <a name="setHeartbeatFrequency(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setHeartbeatFrequency</h4> |
| <pre><a href="../../../../../../org/apache/ignite/spi/IgniteSpiConfiguration.html" title="annotation in org.apache.ignite.spi">@IgniteSpiConfiguration</a>(<a href="../../../../../../org/apache/ignite/spi/IgniteSpiConfiguration.html#optional()">optional</a>=true) |
| public void setHeartbeatFrequency(long hbFreq)</pre> |
| <div class="block">Sets delay between issuing of heartbeat messages. SPI sends heartbeat messages |
| in configurable time interval to other nodes to notify them about its state. |
| <p> |
| If not provided, default value is <a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#DFLT_HEARTBEAT_FREQ"><code>DFLT_HEARTBEAT_FREQ</code></a>.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>hbFreq</code> - Heartbeat frequency in milliseconds.</dd></dl> |
| </li> |
| </ul> |
| <a name="getTopHistorySize()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTopHistorySize</h4> |
| <pre>public long getTopHistorySize()</pre> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>Size of topology snapshots history.</dd></dl> |
| </li> |
| </ul> |
| <a name="setTopHistorySize(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTopHistorySize</h4> |
| <pre><a href="../../../../../../org/apache/ignite/spi/IgniteSpiConfiguration.html" title="annotation in org.apache.ignite.spi">@IgniteSpiConfiguration</a>(<a href="../../../../../../org/apache/ignite/spi/IgniteSpiConfiguration.html#optional()">optional</a>=true) |
| public void setTopHistorySize(int topHistSize)</pre> |
| <div class="block">Sets size of topology snapshots history. Specified size should be greater than or equal to default size |
| <a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#DFLT_TOP_HISTORY_SIZE"><code>DFLT_TOP_HISTORY_SIZE</code></a>.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>topHistSize</code> - Size of topology snapshots history.</dd></dl> |
| </li> |
| </ul> |
| <a name="setNodeAttributes(java.util.Map, org.apache.ignite.lang.IgniteProductVersion)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setNodeAttributes</h4> |
| <pre>public void setNodeAttributes(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><span class='angle_bracket'><</span><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a><span class='angle_bracket'>></span> attrs, |
| <a href="../../../../../../org/apache/ignite/lang/IgniteProductVersion.html" title="class in org.apache.ignite.lang">IgniteProductVersion</a> ver)</pre> |
| <div class="block">Sets node attributes and node version which will be distributed in grid during |
| join process. Note that these attributes cannot be changed and set only once.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html#setNodeAttributes(java.util.Map, org.apache.ignite.lang.IgniteProductVersion)">setNodeAttributes</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpi</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>attrs</code> - Map of node attributes.</dd><dd><code>ver</code> - Product version.</dd></dl> |
| </li> |
| </ul> |
| <a name="onContextInitialized0(org.apache.ignite.spi.IgniteSpiContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onContextInitialized0</h4> |
| <pre>protected void onContextInitialized0(<a href="../../../../../../org/apache/ignite/spi/IgniteSpiContext.html" title="interface in org.apache.ignite.spi">IgniteSpiContext</a> spiCtx) |
| throws <a href="../../../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi">IgniteSpiException</a></pre> |
| <div class="block">Method to be called in the end of onContextInitialized method.</div> |
| <dl> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#onContextInitialized0(org.apache.ignite.spi.IgniteSpiContext)">onContextInitialized0</a></code> in class <code><a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html" title="class in org.apache.ignite.spi">IgniteSpiAdapter</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>spiCtx</code> - SPI context.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi">IgniteSpiException</a></code> - In case of errors.</dd></dl> |
| </li> |
| </ul> |
| <a name="onContextDestroyed0()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onContextDestroyed0</h4> |
| <pre>protected void onContextDestroyed0()</pre> |
| <div class="block">Method to be called in the beginning of onContextDestroyed() method.</div> |
| <dl> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html#onContextDestroyed0()">onContextDestroyed0</a></code> in class <code><a href="../../../../../../org/apache/ignite/spi/IgniteSpiAdapter.html" title="class in org.apache.ignite.spi">IgniteSpiAdapter</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getLocalNode()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLocalNode</h4> |
| <pre>public <a href="../../../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a> getLocalNode()</pre> |
| <div class="block">Gets local node.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html#getLocalNode()">getLocalNode</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpi</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Local node.</dd></dl> |
| </li> |
| </ul> |
| <a name="setListener(org.apache.ignite.spi.discovery.DiscoverySpiListener)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setListener</h4> |
| <pre>public void setListener(@Nullable |
| <a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpiListener.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpiListener</a> lsnr)</pre> |
| <div class="block">Sets a listener for discovery events. Refer to |
| <a href="../../../../../../org/apache/ignite/events/DiscoveryEvent.html" title="class in org.apache.ignite.events"><code>DiscoveryEvent</code></a> for a set of all possible |
| discovery events. |
| <p> |
| Note that as of Ignite 3.0.2 this method is called <b>before</b> |
| method <a href="../../../../../../org/apache/ignite/spi/IgniteSpi.html#spiStart(java.lang.String)"><code>IgniteSpi.spiStart(String)</code></a> is called. This is done to |
| avoid potential window when SPI is started but the listener is |
| not registered yet.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html#setListener(org.apache.ignite.spi.discovery.DiscoverySpiListener)">setListener</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpi</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>lsnr</code> - Listener to discovery events or <code>null</code> to unset the listener.</dd></dl> |
| </li> |
| </ul> |
| <a name="setDataExchange(org.apache.ignite.spi.discovery.DiscoverySpiDataExchange)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDataExchange</h4> |
| <pre>public void setDataExchange(<a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpiDataExchange.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpiDataExchange</a> exchange)</pre> |
| <div class="block">Sets a handler for initial data exchange between Ignite nodes.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html#setDataExchange(org.apache.ignite.spi.discovery.DiscoverySpiDataExchange)">setDataExchange</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpi</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>exchange</code> - Discovery data exchange handler.</dd></dl> |
| </li> |
| </ul> |
| <a name="setMetricsProvider(org.apache.ignite.spi.discovery.DiscoveryMetricsProvider)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMetricsProvider</h4> |
| <pre>public void setMetricsProvider(<a href="../../../../../../org/apache/ignite/spi/discovery/DiscoveryMetricsProvider.html" title="interface in org.apache.ignite.spi.discovery">DiscoveryMetricsProvider</a> metricsProvider)</pre> |
| <div class="block">Sets discovery metrics provider. Use metrics provided by |
| <a href="../../../../../../org/apache/ignite/spi/discovery/DiscoveryMetricsProvider.html#metrics()"><code>DiscoveryMetricsProvider.metrics()</code></a> method to exchange |
| dynamic metrics between nodes.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html#setMetricsProvider(org.apache.ignite.spi.discovery.DiscoveryMetricsProvider)">setMetricsProvider</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpi</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>metricsProvider</code> - Provider of metrics data.</dd></dl> |
| </li> |
| </ul> |
| <a name="getGridStartTime()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getGridStartTime</h4> |
| <pre>public long getGridStartTime()</pre> |
| <div class="block">Gets start time of the very first node in the grid. This value should be the same |
| on all nodes in the grid and it should not change even if very first node fails |
| of leaves grid.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html#getGridStartTime()">getGridStartTime</a></code> in interface <code><a href="../../../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery">DiscoverySpi</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Start time of the first node in grid or <code>0</code> if SPI implementation |
| does not support this method.</dd></dl> |
| </li> |
| </ul> |
| <a name="openSocket(java.net.InetSocketAddress)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>openSocket</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/net/Socket.html?is-external=true" title="class or interface in java.net">Socket</a> openSocket(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a> sockAddr) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>sockAddr</code> - Remote address.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Opened socket.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="writeToSocket(java.net.Socket, byte[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeToSocket</h4> |
| <pre>protected void writeToSocket(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/Socket.html?is-external=true" title="class or interface in java.net">Socket</a> sock, |
| byte[] data) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Writes message to the socket.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>sock</code> - Socket.</dd><dd><code>data</code> - Raw data to write.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If IO failed or write timed out.</dd></dl> |
| </li> |
| </ul> |
| <a name="writeToSocket(java.net.Socket, org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractMessage)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeToSocket</h4> |
| <pre>protected void writeToSocket(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/Socket.html?is-external=true" title="class or interface in java.net">Socket</a> sock, |
| org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractMessage msg) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| <a href="../../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Writes message to the socket.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>sock</code> - Socket.</dd><dd><code>msg</code> - Message.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If IO failed or write timed out.</dd> |
| <dd><code><a href="../../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If marshalling failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="writeToSocket(java.net.Socket, org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractMessage, org.apache.ignite.internal.util.io.GridByteArrayOutputStream)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeToSocket</h4> |
| <pre>protected void writeToSocket(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/Socket.html?is-external=true" title="class or interface in java.net">Socket</a> sock, |
| org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractMessage msg, |
| org.apache.ignite.internal.util.io.GridByteArrayOutputStream bout) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| <a href="../../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Writes message to the socket.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>sock</code> - Socket.</dd><dd><code>msg</code> - Message.</dd><dd><code>bout</code> - Byte array output stream.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If IO failed or write timed out.</dd> |
| <dd><code><a href="../../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If marshalling failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="writeToSocket(java.net.Socket, int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeToSocket</h4> |
| <pre>protected void writeToSocket(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/Socket.html?is-external=true" title="class or interface in java.net">Socket</a> sock, |
| int res) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Writes response to the socket.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>sock</code> - Socket.</dd><dd><code>res</code> - Integer response.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If IO failed or write timed out.</dd></dl> |
| </li> |
| </ul> |
| <a name="readMessage(java.net.Socket, java.io.InputStream, long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readMessage</h4> |
| <pre>protected <span class='angle_bracket'><</span>T<span class='angle_bracket'>></span> T readMessage(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/Socket.html?is-external=true" title="class or interface in java.net">Socket</a> sock, |
| @Nullable |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> in, |
| long timeout) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| <a href="../../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Reads message from the socket limiting read time.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>sock</code> - Socket.</dd><dd><code>in</code> - Input stream (in case socket stream was wrapped).</dd><dd><code>timeout</code> - Socket timeout for this operation.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Message.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If IO failed or read timed out.</dd> |
| <dd><code><a href="../../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If unmarshalling failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="readReceipt(java.net.Socket, long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readReceipt</h4> |
| <pre>protected int readReceipt(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/Socket.html?is-external=true" title="class or interface in java.net">Socket</a> sock, |
| long timeout) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Reads message delivery receipt from the socket.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>sock</code> - Socket.</dd><dd><code>timeout</code> - Socket timeout for this operation.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Receipt.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If IO failed or read timed out.</dd></dl> |
| </li> |
| </ul> |
| <a name="resolvedAddresses()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>resolvedAddresses</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'><</span><a href="http://docs.oracle.com/javase/7/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a><span class='angle_bracket'>></span> resolvedAddresses() |
| throws <a href="../../../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi">IgniteSpiException</a></pre> |
| <div class="block">Resolves addresses registered in the IP finder, removes duplicates and local host |
| address and returns the collection of.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>Resolved addresses without duplicates and local address (potentially |
| empty but never null).</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi">IgniteSpiException</a></code> - If an error occurs.</dd></dl> |
| </li> |
| </ul> |
| <a name="registeredAddresses()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>registeredAddresses</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'><</span><a href="http://docs.oracle.com/javase/7/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a><span class='angle_bracket'>></span> registeredAddresses() |
| throws <a href="../../../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi">IgniteSpiException</a></pre> |
| <div class="block">Gets addresses registered in the IP finder, initializes addresses having no |
| port (or 0 port) with <a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html#DFLT_PORT"><code>DFLT_PORT</code></a>.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>Registered addresses.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi">IgniteSpiException</a></code> - If an error occurs.</dd></dl> |
| </li> |
| </ul> |
| <a name="duplicateIdError(org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryDuplicateIdMessage)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>duplicateIdError</h4> |
| <pre>protected <a href="../../../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi">IgniteSpiException</a> duplicateIdError(org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryDuplicateIdMessage msg)</pre> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>msg</code> - Message.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Error.</dd></dl> |
| </li> |
| </ul> |
| <a name="authenticationFailedError(org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAuthFailedMessage)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>authenticationFailedError</h4> |
| <pre>protected <a href="../../../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi">IgniteSpiException</a> authenticationFailedError(org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAuthFailedMessage msg)</pre> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>msg</code> - Message.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Error.</dd></dl> |
| </li> |
| </ul> |
| <a name="checkFailedError(org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryCheckFailedMessage)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkFailedError</h4> |
| <pre>protected <a href="../../../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi">IgniteSpiException</a> checkFailedError(org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryCheckFailedMessage msg)</pre> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>msg</code> - Message.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Error.</dd></dl> |
| </li> |
| </ul> |
| <a name="ensured(org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractMessage)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ensured</h4> |
| <pre>protected boolean ensured(org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractMessage msg)</pre> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>msg</code> - Message.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Whether delivery of the message is ensured.</dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/TcpClientDiscoverySpi.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><em>Apache Ignite - In-Memory Data Fabric</em></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li>Prev Class</li> |
| <li><a href="../../../../../../org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMBean.html" title="interface in org.apache.ignite.spi.discovery.tcp"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpi.html" target="_top">Frames</a></li> |
| <li><a href="TcpClientDiscoverySpi.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small><table width="100%" border="0" cellspacing=0 cellpadding=0 style="padding: 5px"> <tr> <td> <table style="padding-left: 0; margin: 0"> <tbody style="padding: 0; margin: 0"> <tr style="padding: 0; margin: 0"> <td> <a target=_blank href="https://incubator.apache.org/projects/ignite.html"><nobr>2015 Copyright © Apache Software Foundation</nobr></a> </td> </tr> </tbody> </table> </td> <td width="100%" align="right" valign="center"> <a href="https://twitter.com/ApacheIgnite" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @ApacheIgnite</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> </td> </tr> <tr> <td colspan="2" valign="top" align="left"> <table style="padding-left: 0; margin: 0"> <tbody style="padding: 0; margin: 0"> <tr style="padding: 0; margin: 0"> <td> <b>Apache Ignite Fabric</b> </td> <td>: ver. <strong>1.0.0-RC3</strong> </td> </tr> <tr style="padding: 0; margin: 0"> <td> <b>Release Date</b> </td> <td>: March 24 2015 </td> </tr> </tbody> </table> </td> </tr> </table></small></p> |
| <!--FOOTER--><script type='text/javascript'>SyntaxHighlighter.all();dp.SyntaxHighlighter.HighlightAll('code');</script> |
| </body> |
| |
| </html> |