blob: 6ffdeaa7cb97aad03d0f7221a0738150d5d39983 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<link rel="canonical" href="https://ignite.apache.org/releases/2.6.0/javadoc/org/apache/ignite/spi/IgniteSpiContext.html" />
<META NAME="ROBOTS" CONTENT="NOINDEX">
<!-- Generated by javadoc (1.8.0_77) on Tue Jul 10 11:04:43 UTC 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>IgniteSpiContext (Ignite 2.6.0)</title>
<meta name="date" content="2018-07-10">
<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
<script type="text/javascript" src="../../../../script.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"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="IgniteSpiContext (Ignite 2.6.0)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":38,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":38,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<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/IgniteSpiContext.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">Ignite - In-Memory Data Fabric</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/ignite/spi/IgniteSpiConsistencyChecked.html" title="annotation in org.apache.ignite.spi"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/ignite/spi/IgniteSpiContext.html" target="_top">Frames</a></li>
<li><a href="IgniteSpiContext.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</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</div>
<h2 title="Interface IgniteSpiContext" class="title">Interface IgniteSpiContext</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public interface <span class="typeNameLabel">IgniteSpiContext</span></pre>
<div class="block">SPI context provides common functionality for all SPI implementations.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#addLocalEventListener-org.apache.ignite.internal.managers.eventstorage.GridLocalEventListener-int...-">addLocalEventListener</a></span>(org.apache.ignite.internal.managers.eventstorage.GridLocalEventListener&nbsp;lsnr,
int...&nbsp;types)</code>
<div class="block">Adds an event listener for local events.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#addLocalMessageListener-java.lang.Object-org.apache.ignite.lang.IgniteBiPredicate-">addLocalMessageListener</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;topic,
<a href="../../../../org/apache/ignite/lang/IgniteBiPredicate.html" title="interface in org.apache.ignite.lang">IgniteBiPredicate</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>,?&gt;&nbsp;p)</code>
<div class="block">Register an local message listener to receive messages sent by remote nodes.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#addMessageListener-org.apache.ignite.internal.managers.communication.GridMessageListener-java.lang.String-">addMessageListener</a></span>(org.apache.ignite.internal.managers.communication.GridMessageListener&nbsp;lsnr,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Use <a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#addLocalMessageListener-java.lang.Object-org.apache.ignite.lang.IgniteBiPredicate-"><code>addLocalMessageListener(Object, IgniteBiPredicate)</code></a> instead.</span></div>
</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#addTimeoutObject-org.apache.ignite.spi.IgniteSpiTimeoutObject-">addTimeoutObject</a></span>(<a href="../../../../org/apache/ignite/spi/IgniteSpiTimeoutObject.html" title="interface in org.apache.ignite.spi">IgniteSpiTimeoutObject</a>&nbsp;c)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/ignite/plugin/security/SecuritySubject.html" title="interface in org.apache.ignite.plugin.security">SecuritySubject</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#authenticatedSubject-java.util.UUID-">authenticatedSubject</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&nbsp;subjId)</code>
<div class="block">Gets security subject based on subject ID.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../org/apache/ignite/plugin/security/SecuritySubject.html" title="interface in org.apache.ignite.plugin.security">SecuritySubject</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#authenticatedSubjects--">authenticatedSubjects</a></span>()</code>
<div class="block">Gets collection of authenticated subjects together with their permissions.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#communicationFailureResolveSupported--">communicationFailureResolveSupported</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>&lt;K&gt;&nbsp;boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#containsKey-java.lang.String-K-">containsKey</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;cacheName,
K&nbsp;key)</code>
<div class="block">Returns <code>true</code> if this cache contains a mapping for the specified key.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#deregisterPort-int-org.apache.ignite.spi.IgnitePortProtocol-">deregisterPort</a></span>(int&nbsp;port,
<a href="../../../../org/apache/ignite/spi/IgnitePortProtocol.html" title="enum in org.apache.ignite.spi">IgnitePortProtocol</a>&nbsp;proto)</code>
<div class="block">Deregisters closed port.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#deregisterPorts--">deregisterPorts</a></span>()</code>
<div class="block">Deregisters all closed ports.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#failNode-java.util.UUID-java.lang.String-">failNode</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&nbsp;nodeId,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;warning)</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>&lt;K,V&gt;&nbsp;V</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#get-java.lang.String-K-">get</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;cacheName,
K&nbsp;key)</code>
<div class="block">Gets object from cache.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#isEventRecordable-int...-">isEventRecordable</a></span>(int...&nbsp;types)</code>
<div class="block">Checks whether all provided event types are recordable.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#isStopping--">isStopping</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<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><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#localNode--">localNode</a></span>()</code>
<div class="block">Gets local grid node.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/ignite/plugin/extensions/communication/MessageFactory.html" title="interface in org.apache.ignite.plugin.extensions.communication">MessageFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#messageFactory--">messageFactory</a></span>()</code>
<div class="block">Gets message factory.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/ignite/plugin/extensions/communication/MessageFormatter.html" title="interface in org.apache.ignite.plugin.extensions.communication">MessageFormatter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#messageFormatter--">messageFormatter</a></span>()</code>
<div class="block">Gets message formatter.</div>
</td>
</tr>
<tr id="i17" 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><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#node-java.util.UUID-">node</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&nbsp;nodeId)</code>
<div class="block">Gets a node instance based on its ID.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/8/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/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#nodeAttributes--">nodeAttributes</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#nodes--">nodes</a></span>()</code>
<div class="block">Gets a collection of all grid nodes.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#partition-java.lang.String-java.lang.Object-">partition</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;cacheName,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;key)</code>
<div class="block">Calculates partition number for given key.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#pingNode-java.util.UUID-">pingNode</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&nbsp;nodeId)</code>
<div class="block">Pings a remote node.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>&lt;K,V&gt;&nbsp;V</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#put-java.lang.String-K-V-long-">put</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;cacheName,
K&nbsp;key,
V&nbsp;val,
long&nbsp;ttl)</code>
<div class="block">Puts object in cache.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>&lt;K,V&gt;&nbsp;V</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#putIfAbsent-java.lang.String-K-V-long-">putIfAbsent</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;cacheName,
K&nbsp;key,
V&nbsp;val,
long&nbsp;ttl)</code>
<div class="block">Puts object into cache if there was no previous object associated with
given key.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#recordEvent-org.apache.ignite.events.Event-">recordEvent</a></span>(<a href="../../../../org/apache/ignite/events/Event.html" title="interface in org.apache.ignite.events">Event</a>&nbsp;evt)</code>
<div class="block">Records local event.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#registerPort-int-org.apache.ignite.spi.IgnitePortProtocol-">registerPort</a></span>(int&nbsp;port,
<a href="../../../../org/apache/ignite/spi/IgnitePortProtocol.html" title="enum in org.apache.ignite.spi">IgnitePortProtocol</a>&nbsp;proto)</code>
<div class="block">Registers open port.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#remoteDaemonNodes--">remoteDaemonNodes</a></span>()</code>
<div class="block">Gets a collection of all remote daemon nodes in topology.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#remoteNodes--">remoteNodes</a></span>()</code>
<div class="block">Gets a collection of remote grid nodes.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>&lt;K,V&gt;&nbsp;V</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#remove-java.lang.String-K-">remove</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;cacheName,
K&nbsp;key)</code>
<div class="block">Removes object from cache.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#removeLocalEventListener-org.apache.ignite.internal.managers.eventstorage.GridLocalEventListener-">removeLocalEventListener</a></span>(org.apache.ignite.internal.managers.eventstorage.GridLocalEventListener&nbsp;lsnr)</code>
<div class="block">Removes local event listener.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#removeLocalMessageListener-java.lang.Object-org.apache.ignite.lang.IgniteBiPredicate-">removeLocalMessageListener</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;topic,
<a href="../../../../org/apache/ignite/lang/IgniteBiPredicate.html" title="interface in org.apache.ignite.lang">IgniteBiPredicate</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>,?&gt;&nbsp;p)</code>
<div class="block">Removes a previously registered local message listener.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#removeMessageListener-org.apache.ignite.internal.managers.communication.GridMessageListener-java.lang.String-">removeMessageListener</a></span>(org.apache.ignite.internal.managers.communication.GridMessageListener&nbsp;lsnr,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Use <a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#removeLocalMessageListener-java.lang.Object-org.apache.ignite.lang.IgniteBiPredicate-"><code>removeLocalMessageListener(Object, IgniteBiPredicate)</code></a> instead.</span></div>
</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#removeTimeoutObject-org.apache.ignite.spi.IgniteSpiTimeoutObject-">removeTimeoutObject</a></span>(<a href="../../../../org/apache/ignite/spi/IgniteSpiTimeoutObject.html" title="interface in org.apache.ignite.spi">IgniteSpiTimeoutObject</a>&nbsp;c)</code>&nbsp;</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#resolveCommunicationFailure-org.apache.ignite.cluster.ClusterNode-java.lang.Exception-">resolveCommunicationFailure</a></span>(<a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&nbsp;node,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>&nbsp;err)</code>&nbsp;</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#send-org.apache.ignite.cluster.ClusterNode-java.io.Serializable-java.lang.String-">send</a></span>(<a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&nbsp;node,
<a href="http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>&nbsp;msg,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</code>
<div class="block">Sends a message to a remote node.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#tryFailNode-java.util.UUID-java.lang.String-">tryFailNode</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&nbsp;nodeId,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;warning)</code>&nbsp;</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/ignite/spi/IgniteNodeValidationResult.html" title="class in org.apache.ignite.spi">IgniteNodeValidationResult</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#validateNode-org.apache.ignite.cluster.ClusterNode-">validateNode</a></span>(<a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&nbsp;node)</code>
<div class="block">Validates that new node can join grid topology, this method is called on coordinator
node before new node joins topology.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/ignite/spi/IgniteNodeValidationResult.html" title="class in org.apache.ignite.spi">IgniteNodeValidationResult</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#validateNode-org.apache.ignite.cluster.ClusterNode-org.apache.ignite.spi.discovery.DiscoveryDataBag-">validateNode</a></span>(<a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&nbsp;node,
<a href="../../../../org/apache/ignite/spi/discovery/DiscoveryDataBag.html" title="class in org.apache.ignite.spi.discovery">DiscoveryDataBag</a>&nbsp;discoData)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="remoteNodes--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remoteNodes</h4>
<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&gt;&nbsp;remoteNodes()</pre>
<div class="block">Gets a collection of remote grid nodes. Remote nodes are discovered via underlying
<a href="../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery"><code>DiscoverySpi</code></a> implementation used. Unlike <a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#nodes--"><code>nodes()</code></a>,
this method does not include local grid node.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Collection of remote grid nodes.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#localNode--"><code>localNode()</code></a>,
<a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#nodes--"><code>nodes()</code></a>,
<a href="../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery"><code>DiscoverySpi</code></a></dd>
</dl>
</li>
</ul>
<a name="nodes--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nodes</h4>
<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&gt;&nbsp;nodes()</pre>
<div class="block">Gets a collection of all grid nodes. Remote nodes are discovered via underlying
<a href="../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery"><code>DiscoverySpi</code></a> implementation used. Unlike <a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#remoteNodes--"><code>remoteNodes()</code></a>,
this method does include local grid node.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Collection of remote grid nodes.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#localNode--"><code>localNode()</code></a>,
<a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#remoteNodes--"><code>remoteNodes()</code></a>,
<a href="../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery"><code>DiscoverySpi</code></a></dd>
</dl>
</li>
</ul>
<a name="localNode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>localNode</h4>
<pre><a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&nbsp;localNode()</pre>
<div class="block">Gets local grid node. Instance of local node is provided by underlying <a href="../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery"><code>DiscoverySpi</code></a>
implementation used.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Local grid node.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery"><code>DiscoverySpi</code></a></dd>
</dl>
</li>
</ul>
<a name="remoteDaemonNodes--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remoteDaemonNodes</h4>
<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&gt;&nbsp;remoteDaemonNodes()</pre>
<div class="block">Gets a collection of all remote daemon nodes in topology. The daemon nodes are discovered via
underlying <a href="../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery"><code>DiscoverySpi</code></a> implementation used.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Collection of all daemon nodes.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#localNode--"><code>localNode()</code></a>,
<a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#remoteNodes--"><code>remoteNodes()</code></a>,
<a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#nodes--"><code>nodes()</code></a>,
<a href="../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery"><code>DiscoverySpi</code></a></dd>
</dl>
</li>
</ul>
<a name="node-java.util.UUID-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>node</h4>
<pre>@Nullable
<a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&nbsp;node(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&nbsp;nodeId)</pre>
<div class="block">Gets a node instance based on its ID.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nodeId</code> - ID of a node to get.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Node for a given ID or <code>null</code> is such not has not been discovered.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery"><code>DiscoverySpi</code></a></dd>
</dl>
</li>
</ul>
<a name="pingNode-java.util.UUID-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pingNode</h4>
<pre>boolean&nbsp;pingNode(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&nbsp;nodeId)</pre>
<div class="block">Pings a remote node. The underlying communication is provided via
<a href="../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html#pingNode-java.util.UUID-"><code>DiscoverySpi.pingNode(UUID)</code></a> implementation.
<p>
Discovery SPIs usually have some latency in discovering failed nodes. Hence,
communication to remote nodes may fail at times if an attempt was made to
establish communication with a failed node. This method can be used to check
if communication has failed due to node failure or due to some other reason.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nodeId</code> - ID of a node to ping.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>true</code> if node for a given ID is alive, <code>false</code> otherwise.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/ignite/spi/discovery/DiscoverySpi.html" title="interface in org.apache.ignite.spi.discovery"><code>DiscoverySpi</code></a></dd>
</dl>
</li>
</ul>
<a name="send-org.apache.ignite.cluster.ClusterNode-java.io.Serializable-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>send</h4>
<pre>void&nbsp;send(<a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&nbsp;node,
<a href="http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>&nbsp;msg,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)
throws <a href="../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi">IgniteSpiException</a></pre>
<div class="block">Sends a message to a remote node. The underlying communication mechanism is defined by
<a href="../../../../org/apache/ignite/spi/communication/CommunicationSpi.html" title="interface in org.apache.ignite.spi.communication"><code>CommunicationSpi</code></a> implementation used.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - Node to send a message to.</dd>
<dd><code>msg</code> - Message to send.</dd>
<dd><code>topic</code> - Topic to send message to.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi">IgniteSpiException</a></code> - If failed to send a message to remote node.</dd>
</dl>
</li>
</ul>
<a name="addLocalMessageListener-java.lang.Object-org.apache.ignite.lang.IgniteBiPredicate-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addLocalMessageListener</h4>
<pre>void&nbsp;addLocalMessageListener(@Nullable
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;topic,
<a href="../../../../org/apache/ignite/lang/IgniteBiPredicate.html" title="interface in org.apache.ignite.lang">IgniteBiPredicate</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>,?&gt;&nbsp;p)</pre>
<div class="block">Register an local message listener to receive messages sent by remote nodes. The underlying
communication mechanism is defined by <a href="../../../../org/apache/ignite/spi/communication/CommunicationSpi.html" title="interface in org.apache.ignite.spi.communication"><code>CommunicationSpi</code></a> implementation used.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>topic</code> - Topic to subscribe to.</dd>
<dd><code>p</code> - Message predicate.</dd>
</dl>
</li>
</ul>
<a name="removeLocalMessageListener-java.lang.Object-org.apache.ignite.lang.IgniteBiPredicate-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeLocalMessageListener</h4>
<pre>void&nbsp;removeLocalMessageListener(@Nullable
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;topic,
<a href="../../../../org/apache/ignite/lang/IgniteBiPredicate.html" title="interface in org.apache.ignite.lang">IgniteBiPredicate</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>,?&gt;&nbsp;p)</pre>
<div class="block">Removes a previously registered local message listener.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>topic</code> - Topic to unsubscribe from.</dd>
<dd><code>p</code> - Message predicate.</dd>
</dl>
</li>
</ul>
<a name="addMessageListener-org.apache.ignite.internal.managers.communication.GridMessageListener-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addMessageListener</h4>
<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
void&nbsp;addMessageListener(org.apache.ignite.internal.managers.communication.GridMessageListener&nbsp;lsnr,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Use <a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#addLocalMessageListener-java.lang.Object-org.apache.ignite.lang.IgniteBiPredicate-"><code>addLocalMessageListener(Object, IgniteBiPredicate)</code></a> instead.</span></div>
<div class="block">Register a message listener to receive messages sent by remote nodes. The underlying
communication mechanism is defined by <a href="../../../../org/apache/ignite/spi/communication/CommunicationSpi.html" title="interface in org.apache.ignite.spi.communication"><code>CommunicationSpi</code></a> implementation used.
<p>
This method can be used by jobs to communicate with other nodes in the grid. Remote nodes
can send messages by calling <a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#send-org.apache.ignite.cluster.ClusterNode-java.io.Serializable-java.lang.String-"><code>send(org.apache.ignite.cluster.ClusterNode, Serializable, String)</code></a> method.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>lsnr</code> - Message listener to register.</dd>
<dd><code>topic</code> - Topic to register listener for.</dd>
</dl>
</li>
</ul>
<a name="removeMessageListener-org.apache.ignite.internal.managers.communication.GridMessageListener-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeMessageListener</h4>
<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
boolean&nbsp;removeMessageListener(org.apache.ignite.internal.managers.communication.GridMessageListener&nbsp;lsnr,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;topic)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Use <a href="../../../../org/apache/ignite/spi/IgniteSpiContext.html#removeLocalMessageListener-java.lang.Object-org.apache.ignite.lang.IgniteBiPredicate-"><code>removeLocalMessageListener(Object, IgniteBiPredicate)</code></a> instead.</span></div>
<div class="block">Removes a previously registered message listener.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>lsnr</code> - Message listener to remove.</dd>
<dd><code>topic</code> - Topic to unregister listener for.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>true</code> of message listener was removed, <code>false</code> if it was not
previously registered.</dd>
</dl>
</li>
</ul>
<a name="addLocalEventListener-org.apache.ignite.internal.managers.eventstorage.GridLocalEventListener-int...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addLocalEventListener</h4>
<pre>void&nbsp;addLocalEventListener(org.apache.ignite.internal.managers.eventstorage.GridLocalEventListener&nbsp;lsnr,
int...&nbsp;types)</pre>
<div class="block">Adds an event listener for local events.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>lsnr</code> - Event listener for local events.</dd>
<dd><code>types</code> - Optional types for which this listener will be notified. If no types are provided
this listener will be notified for all local events.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/ignite/events/Event.html" title="interface in org.apache.ignite.events"><code>Event</code></a></dd>
</dl>
</li>
</ul>
<a name="removeLocalEventListener-org.apache.ignite.internal.managers.eventstorage.GridLocalEventListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeLocalEventListener</h4>
<pre>boolean&nbsp;removeLocalEventListener(org.apache.ignite.internal.managers.eventstorage.GridLocalEventListener&nbsp;lsnr)</pre>
<div class="block">Removes local event listener.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>lsnr</code> - Local event listener to remove.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>true</code> if listener was removed, <code>false</code> otherwise.</dd>
</dl>
</li>
</ul>
<a name="isEventRecordable-int...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEventRecordable</h4>
<pre>boolean&nbsp;isEventRecordable(int...&nbsp;types)</pre>
<div class="block">Checks whether all provided event types are recordable.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>types</code> - Event types to check.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Whether or not all provided event types are recordable..</dd>
</dl>
</li>
</ul>
<a name="recordEvent-org.apache.ignite.events.Event-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recordEvent</h4>
<pre>void&nbsp;recordEvent(<a href="../../../../org/apache/ignite/events/Event.html" title="interface in org.apache.ignite.events">Event</a>&nbsp;evt)</pre>
<div class="block">Records local event.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>evt</code> - Local grid event to record.</dd>
</dl>
</li>
</ul>
<a name="registerPort-int-org.apache.ignite.spi.IgnitePortProtocol-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>registerPort</h4>
<pre>void&nbsp;registerPort(int&nbsp;port,
<a href="../../../../org/apache/ignite/spi/IgnitePortProtocol.html" title="enum in org.apache.ignite.spi">IgnitePortProtocol</a>&nbsp;proto)</pre>
<div class="block">Registers open port.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>port</code> - Port.</dd>
<dd><code>proto</code> - Protocol.</dd>
</dl>
</li>
</ul>
<a name="deregisterPort-int-org.apache.ignite.spi.IgnitePortProtocol-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deregisterPort</h4>
<pre>void&nbsp;deregisterPort(int&nbsp;port,
<a href="../../../../org/apache/ignite/spi/IgnitePortProtocol.html" title="enum in org.apache.ignite.spi">IgnitePortProtocol</a>&nbsp;proto)</pre>
<div class="block">Deregisters closed port.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>port</code> - Port.</dd>
<dd><code>proto</code> - Protocol.</dd>
</dl>
</li>
</ul>
<a name="deregisterPorts--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deregisterPorts</h4>
<pre>void&nbsp;deregisterPorts()</pre>
<div class="block">Deregisters all closed ports.</div>
</li>
</ul>
<a name="get-java.lang.String-java.lang.Object-">
<!-- -->
</a><a name="get-java.lang.String-K-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>@Nullable
&lt;K,V&gt;&nbsp;V&nbsp;get(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;cacheName,
K&nbsp;key)
throws javax.cache.CacheException</pre>
<div class="block">Gets object from cache.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cacheName</code> - Cache name.</dd>
<dd><code>key</code> - Object key.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Cached object.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>javax.cache.CacheException</code> - Thrown if any exception occurs.</dd>
</dl>
</li>
</ul>
<a name="put-java.lang.String-java.lang.Object-java.lang.Object-long-">
<!-- -->
</a><a name="put-java.lang.String-K-V-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>@Nullable
&lt;K,V&gt;&nbsp;V&nbsp;put(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;cacheName,
K&nbsp;key,
V&nbsp;val,
long&nbsp;ttl)
throws javax.cache.CacheException</pre>
<div class="block">Puts object in cache.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>K</code> - Key type.</dd>
<dd><code>V</code> - Value type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cacheName</code> - Cache name.</dd>
<dd><code>key</code> - Object key.</dd>
<dd><code>val</code> - Cached object.</dd>
<dd><code>ttl</code> - Time to live, <code>0</code> means the entry will never expire.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Previous value associated with specified key, possibly <code>null</code>.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>javax.cache.CacheException</code> - Thrown if any exception occurs.</dd>
</dl>
</li>
</ul>
<a name="putIfAbsent-java.lang.String-java.lang.Object-java.lang.Object-long-">
<!-- -->
</a><a name="putIfAbsent-java.lang.String-K-V-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putIfAbsent</h4>
<pre>@Nullable
&lt;K,V&gt;&nbsp;V&nbsp;putIfAbsent(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;cacheName,
K&nbsp;key,
V&nbsp;val,
long&nbsp;ttl)
throws javax.cache.CacheException</pre>
<div class="block">Puts object into cache if there was no previous object associated with
given key.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>K</code> - Cache key type.</dd>
<dd><code>V</code> - Cache value type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cacheName</code> - Cache name.</dd>
<dd><code>key</code> - Cache key.</dd>
<dd><code>val</code> - Cache value.</dd>
<dd><code>ttl</code> - Time to live.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Either existing value or <code>null</code> if there was no value for given key.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>javax.cache.CacheException</code> - If put failed.</dd>
</dl>
</li>
</ul>
<a name="remove-java.lang.String-java.lang.Object-">
<!-- -->
</a><a name="remove-java.lang.String-K-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>@Nullable
&lt;K,V&gt;&nbsp;V&nbsp;remove(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;cacheName,
K&nbsp;key)
throws javax.cache.CacheException</pre>
<div class="block">Removes object from cache.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>K</code> - Key type.</dd>
<dd><code>V</code> - Value type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cacheName</code> - Cache name.</dd>
<dd><code>key</code> - Object key.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Previous value associated with specified key, possibly <code>null</code>.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>javax.cache.CacheException</code> - Thrown if any exception occurs.</dd>
</dl>
</li>
</ul>
<a name="containsKey-java.lang.String-java.lang.Object-">
<!-- -->
</a><a name="containsKey-java.lang.String-K-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsKey</h4>
<pre>&lt;K&gt;&nbsp;boolean&nbsp;containsKey(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;cacheName,
K&nbsp;key)</pre>
<div class="block">Returns <code>true</code> if this cache contains a mapping for the specified key.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>K</code> - Key type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cacheName</code> - Cache name.</dd>
<dd><code>key</code> - Object key.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>true</code> if this cache contains a mapping for the specified key.</dd>
</dl>
</li>
</ul>
<a name="partition-java.lang.String-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>partition</h4>
<pre>int&nbsp;partition(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;cacheName,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;key)</pre>
<div class="block">Calculates partition number for given key.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cacheName</code> - Cache name.</dd>
<dd><code>key</code> - Key.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Partition.</dd>
</dl>
</li>
</ul>
<a name="validateNode-org.apache.ignite.cluster.ClusterNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validateNode</h4>
<pre>@Nullable
<a href="../../../../org/apache/ignite/spi/IgniteNodeValidationResult.html" title="class in org.apache.ignite.spi">IgniteNodeValidationResult</a>&nbsp;validateNode(<a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&nbsp;node)</pre>
<div class="block">Validates that new node can join grid topology, this method is called on coordinator
node before new node joins topology.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - Joining node.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Validation result or <code>null</code> in case of success.</dd>
</dl>
</li>
</ul>
<a name="validateNode-org.apache.ignite.cluster.ClusterNode-org.apache.ignite.spi.discovery.DiscoveryDataBag-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validateNode</h4>
<pre>@Nullable
<a href="../../../../org/apache/ignite/spi/IgniteNodeValidationResult.html" title="class in org.apache.ignite.spi">IgniteNodeValidationResult</a>&nbsp;validateNode(<a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&nbsp;node,
<a href="../../../../org/apache/ignite/spi/discovery/DiscoveryDataBag.html" title="class in org.apache.ignite.spi.discovery">DiscoveryDataBag</a>&nbsp;discoData)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - Node.</dd>
<dd><code>discoData</code> - Disco data.</dd>
</dl>
</li>
</ul>
<a name="authenticatedSubjects--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>authenticatedSubjects</h4>
<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../org/apache/ignite/plugin/security/SecuritySubject.html" title="interface in org.apache.ignite.plugin.security">SecuritySubject</a>&gt;&nbsp;authenticatedSubjects()
throws <a href="../../../../org/apache/ignite/IgniteException.html" title="class in org.apache.ignite">IgniteException</a></pre>
<div class="block">Gets collection of authenticated subjects together with their permissions.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Collection of authenticated subjects.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/ignite/IgniteException.html" title="class in org.apache.ignite">IgniteException</a></code> - If any exception occurs.</dd>
</dl>
</li>
</ul>
<a name="authenticatedSubject-java.util.UUID-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>authenticatedSubject</h4>
<pre><a href="../../../../org/apache/ignite/plugin/security/SecuritySubject.html" title="interface in org.apache.ignite.plugin.security">SecuritySubject</a>&nbsp;authenticatedSubject(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&nbsp;subjId)
throws <a href="../../../../org/apache/ignite/IgniteException.html" title="class in org.apache.ignite">IgniteException</a></pre>
<div class="block">Gets security subject based on subject ID.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>subjId</code> - Subject ID.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Authorized security subject.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/ignite/IgniteException.html" title="class in org.apache.ignite">IgniteException</a></code> - If any exception occurs.</dd>
</dl>
</li>
</ul>
<a name="messageFormatter--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>messageFormatter</h4>
<pre><a href="../../../../org/apache/ignite/plugin/extensions/communication/MessageFormatter.html" title="interface in org.apache.ignite.plugin.extensions.communication">MessageFormatter</a>&nbsp;messageFormatter()</pre>
<div class="block">Gets message formatter.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Message formatter.</dd>
</dl>
</li>
</ul>
<a name="messageFactory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>messageFactory</h4>
<pre><a href="../../../../org/apache/ignite/plugin/extensions/communication/MessageFactory.html" title="interface in org.apache.ignite.plugin.extensions.communication">MessageFactory</a>&nbsp;messageFactory()</pre>
<div class="block">Gets message factory.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Message factory.</dd>
</dl>
</li>
</ul>
<a name="isStopping--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isStopping</h4>
<pre>boolean&nbsp;isStopping()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>True</code> if node started shutdown sequence.</dd>
</dl>
</li>
</ul>
<a name="tryFailNode-java.util.UUID-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tryFailNode</h4>
<pre>boolean&nbsp;tryFailNode(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&nbsp;nodeId,
@Nullable
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;warning)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nodeId</code> - Node ID.</dd>
<dd><code>warning</code> - Warning to be shown on all cluster nodes.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>If node was failed.</dd>
</dl>
</li>
</ul>
<a name="failNode-java.util.UUID-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>failNode</h4>
<pre>void&nbsp;failNode(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&nbsp;nodeId,
@Nullable
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;warning)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nodeId</code> - Node ID.</dd>
<dd><code>warning</code> - Warning to be shown on all cluster nodes.</dd>
</dl>
</li>
</ul>
<a name="addTimeoutObject-org.apache.ignite.spi.IgniteSpiTimeoutObject-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addTimeoutObject</h4>
<pre>void&nbsp;addTimeoutObject(<a href="../../../../org/apache/ignite/spi/IgniteSpiTimeoutObject.html" title="interface in org.apache.ignite.spi">IgniteSpiTimeoutObject</a>&nbsp;c)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - Timeout object.</dd>
</dl>
</li>
</ul>
<a name="removeTimeoutObject-org.apache.ignite.spi.IgniteSpiTimeoutObject-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeTimeoutObject</h4>
<pre>void&nbsp;removeTimeoutObject(<a href="../../../../org/apache/ignite/spi/IgniteSpiTimeoutObject.html" title="interface in org.apache.ignite.spi">IgniteSpiTimeoutObject</a>&nbsp;c)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - Timeout object.</dd>
</dl>
</li>
</ul>
<a name="nodeAttributes--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nodeAttributes</h4>
<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/8/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/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;nodeAttributes()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Current node attributes.</dd>
</dl>
</li>
</ul>
<a name="communicationFailureResolveSupported--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>communicationFailureResolveSupported</h4>
<pre>boolean&nbsp;communicationFailureResolveSupported()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>True</code> if cluster supports communication error resolving.</dd>
</dl>
</li>
</ul>
<a name="resolveCommunicationFailure-org.apache.ignite.cluster.ClusterNode-java.lang.Exception-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>resolveCommunicationFailure</h4>
<pre>void&nbsp;resolveCommunicationFailure(<a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&nbsp;node,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>&nbsp;err)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - Problem node.</dd>
<dd><code>err</code> - Error.</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>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<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/IgniteSpiContext.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">Ignite - In-Memory Data Fabric</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/ignite/spi/IgniteSpiConsistencyChecked.html" title="annotation in org.apache.ignite.spi"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/ignite/spi/IgniteSpiException.html" title="class in org.apache.ignite.spi"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/ignite/spi/IgniteSpiContext.html" target="_top">Frames</a></li>
<li><a href="IgniteSpiContext.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</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://ignite.apache.org"><nobr>2018 Copyright &#169; 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> </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>Ignite Fabric</b> </td> <td>:&nbsp;&nbsp; ver. <strong>2.6.0</strong> </td> </tr> <tr style="padding: 0; margin: 0"> <td> <b>Release Date</b> </td> <td>:&nbsp;&nbsp; July 10 2018 </td> </tr> </tbody> </table> </td> </tr> </table></small></p>
</body>
</html>