blob: dbcfe0b7a33b00a4bc523a38774989fcaee5162d [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.9.0/javadoc/org/apache/ignite/client/ClientClusterGroup.html" />
<META NAME="ROBOTS" CONTENT="NOINDEX">
<!-- Generated by javadoc (1.8.0_241) on Thu Oct 15 12:23:31 MSK 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ClientClusterGroup (Ignite 2.9.0)</title>
<meta name="date" content="2020-10-15">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<link rel='shortcut icon' href='https://ignite.apache.org/favicon.ico'/>
<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="ClientClusterGroup (Ignite 2.9.0)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":6,"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};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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/ClientClusterGroup.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>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/ignite/client/ClientCluster.html" title="interface in org.apache.ignite.client"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/ignite/client/ClientCompute.html" title="interface in org.apache.ignite.client"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/ignite/client/ClientClusterGroup.html" target="_top">Frames</a></li>
<li><a href="ClientClusterGroup.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.client</div>
<h2 title="Interface ClientClusterGroup" class="title">Interface ClientClusterGroup</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Subinterfaces:</dt>
<dd><a href="../../../../org/apache/ignite/client/ClientCluster.html" title="interface in org.apache.ignite.client">ClientCluster</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="typeNameLabel">ClientClusterGroup</span></pre>
<div class="block">Thin client cluster group facade. Defines a cluster group which contains all or a subset of cluster nodes.</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></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><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html#forAttribute-java.lang.String-java.lang.Object-">forAttribute</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
@Nullable <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;val)</code>
<div class="block">Creates a new cluster group for nodes containing given name and value
specified in user attributes.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html#forClients--">forClients</a></span>()</code>
<div class="block">Creates a cluster group of nodes started in client mode.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html#forHost-org.apache.ignite.cluster.ClusterNode-">forHost</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">Gets cluster group consisting from the nodes in this cluster group residing on the
same host (with the same MAC address) as the given node.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html#forHost-java.lang.String-java.lang.String...-">forHost</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;host,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;hosts)</code>
<div class="block">Gets cluster group consisting from the nodes running on the hosts specified.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html#forNode-org.apache.ignite.cluster.ClusterNode-org.apache.ignite.cluster.ClusterNode...-">forNode</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/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>...&nbsp;nodes)</code>
<div class="block">Creates a cluster group for the given node.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html#forNodeId-java.util.UUID-java.util.UUID...-">forNodeId</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&nbsp;id,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>...&nbsp;ids)</code>
<div class="block">Creates a cluster group for a node with the specified ID.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html#forNodeIds-java.util.Collection-">forNodeIds</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'>&lt;</span><a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a><span class='angle_bracket'>&gt;</span>&nbsp;ids)</code>
<div class="block">Creates a cluster group over nodes with specified node IDs.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html#forNodes-java.util.Collection-">forNodes</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'>&lt;</span>? extends <a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a><span class='angle_bracket'>&gt;</span>&nbsp;nodes)</code>
<div class="block">Creates a cluster group over a given set of nodes.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html#forOldest--">forOldest</a></span>()</code>
<div class="block">Creates a cluster group with one oldest node from the current cluster group.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html#forOthers-org.apache.ignite.client.ClientClusterGroup-">forOthers</a></span>(<a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a>&nbsp;prj)</code>
<div class="block">Creates a cluster group for nodes not included into the given cluster group.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html#forOthers-org.apache.ignite.cluster.ClusterNode-org.apache.ignite.cluster.ClusterNode...-">forOthers</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/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>...&nbsp;nodes)</code>
<div class="block">Creates a cluster group for nodes other than the given nodes.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html#forPredicate-java.util.function.Predicate-">forPredicate</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function">Predicate</a><span class='angle_bracket'>&lt;</span><a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a><span class='angle_bracket'>&gt;</span>&nbsp;p)</code>
<div class="block">Creates a new cluster group which includes all nodes that pass the given predicate filter.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html#forRandom--">forRandom</a></span>()</code>
<div class="block">Creates a cluster group with one random node from the current cluster group.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html#forServers--">forServers</a></span>()</code>
<div class="block">Creates a cluster group of nodes started in server mode.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html#forYoungest--">forYoungest</a></span>()</code>
<div class="block">Creates a cluster group with one youngest node in the current cluster group.</div>
</td>
</tr>
<tr id="i15" 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/client/ClientClusterGroup.html#node--">node</a></span>()</code>
<div class="block">Gets first node from the list of nodes in this cluster group.</div>
</td>
</tr>
<tr id="i16" 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/client/ClientClusterGroup.html#node-java.util.UUID-">node</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&nbsp;nid)</code>
<div class="block">Gets a node for given ID from this cluster group.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'>&lt;</span><a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a><span class='angle_bracket'>&gt;</span></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html#nodes--">nodes</a></span>()</code>
<div class="block">Gets the read-only collection of nodes in this cluster group.</div>
</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="forNodes-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forNodes</h4>
<pre><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a>&nbsp;forNodes(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'>&lt;</span>? extends <a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a><span class='angle_bracket'>&gt;</span>&nbsp;nodes)</pre>
<div class="block">Creates a cluster group over a given set of nodes.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nodes</code> - Collection of nodes to create the cluster group from.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Cluster group for the provided grid nodes.</dd>
</dl>
</li>
</ul>
<a name="forNode-org.apache.ignite.cluster.ClusterNode-org.apache.ignite.cluster.ClusterNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forNode</h4>
<pre><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a>&nbsp;forNode(<a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&nbsp;node,
<a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>...&nbsp;nodes)</pre>
<div class="block">Creates a cluster group for the given node.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - Node to create cluster group for.</dd>
<dd><code>nodes</code> - Optional additional nodes to include into the cluster group.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Cluster group for the given nodes.</dd>
</dl>
</li>
</ul>
<a name="forOthers-org.apache.ignite.cluster.ClusterNode-org.apache.ignite.cluster.ClusterNode...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forOthers</h4>
<pre><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a>&nbsp;forOthers(<a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&nbsp;node,
<a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>...&nbsp;nodes)</pre>
<div class="block">Creates a cluster group for nodes other than the given nodes.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - Node to exclude from the new cluster group.</dd>
<dd><code>nodes</code> - Optional additional nodes to exclude from the cluster group.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Cluster group that will contain all nodes from the original cluster group excluding
the given nodes.</dd>
</dl>
</li>
</ul>
<a name="forOthers-org.apache.ignite.client.ClientClusterGroup-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forOthers</h4>
<pre><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a>&nbsp;forOthers(<a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a>&nbsp;prj)</pre>
<div class="block">Creates a cluster group for nodes not included into the given cluster group.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>prj</code> - Cluster group to exclude from the new cluster group.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Cluster group for nodes not included into the given cluster group.</dd>
</dl>
</li>
</ul>
<a name="forNodeIds-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forNodeIds</h4>
<pre><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a>&nbsp;forNodeIds(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'>&lt;</span><a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a><span class='angle_bracket'>&gt;</span>&nbsp;ids)</pre>
<div class="block">Creates a cluster group over nodes with specified node IDs.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ids</code> - Collection of node IDs.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Cluster group over nodes with the specified node IDs.</dd>
</dl>
</li>
</ul>
<a name="forNodeId-java.util.UUID-java.util.UUID...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forNodeId</h4>
<pre><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a>&nbsp;forNodeId(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&nbsp;id,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>...&nbsp;ids)</pre>
<div class="block">Creates a cluster group for a node with the specified ID.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - Node ID to get the cluster group for.</dd>
<dd><code>ids</code> - Optional additional node IDs to include into the cluster group.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Cluster group over the node with the specified node IDs.</dd>
</dl>
</li>
</ul>
<a name="forPredicate-java.util.function.Predicate-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forPredicate</h4>
<pre><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a>&nbsp;forPredicate(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function">Predicate</a><span class='angle_bracket'>&lt;</span><a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a><span class='angle_bracket'>&gt;</span>&nbsp;p)</pre>
<div class="block">Creates a new cluster group which includes all nodes that pass the given predicate filter.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>p</code> - Predicate filter for nodes to include into the cluster group.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Cluster group for nodes that passed the predicate filter.</dd>
</dl>
</li>
</ul>
<a name="forAttribute-java.lang.String-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forAttribute</h4>
<pre><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a>&nbsp;forAttribute(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
@Nullable
@Nullable <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;val)</pre>
<div class="block">Creates a new cluster group for nodes containing given name and value
specified in user attributes.
<p>
User attributes for every node are optional and can be specified in
grid node configuration. See <a href="../../../../org/apache/ignite/configuration/IgniteConfiguration.html#getUserAttributes--"><code>IgniteConfiguration.getUserAttributes()</code></a>
for more information.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - Name of the attribute.</dd>
<dd><code>val</code> - Optional attribute value to match (if null, just check if attribute exists).</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Cluster group for nodes containing specified attribute.</dd>
</dl>
</li>
</ul>
<a name="forServers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forServers</h4>
<pre><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a>&nbsp;forServers()</pre>
<div class="block">Creates a cluster group of nodes started in server mode.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Cluster group of nodes started in server mode.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/ignite/Ignition.html#setClientMode-boolean-"><code>Ignition.setClientMode(boolean)</code></a>,
<a href="../../../../org/apache/ignite/configuration/IgniteConfiguration.html#setClientMode-boolean-"><code>IgniteConfiguration.setClientMode(boolean)</code></a></dd>
</dl>
</li>
</ul>
<a name="forClients--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forClients</h4>
<pre><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a>&nbsp;forClients()</pre>
<div class="block">Creates a cluster group of nodes started in client mode.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Cluster group of nodes started in client mode.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/ignite/Ignition.html#setClientMode-boolean-"><code>Ignition.setClientMode(boolean)</code></a>,
<a href="../../../../org/apache/ignite/configuration/IgniteConfiguration.html#setClientMode-boolean-"><code>IgniteConfiguration.setClientMode(boolean)</code></a></dd>
</dl>
</li>
</ul>
<a name="forRandom--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forRandom</h4>
<pre><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a>&nbsp;forRandom()</pre>
<div class="block">Creates a cluster group with one random node from the current cluster group.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Cluster group containing one random node from the current cluster group.</dd>
</dl>
</li>
</ul>
<a name="forOldest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forOldest</h4>
<pre><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a>&nbsp;forOldest()</pre>
<div class="block">Creates a cluster group with one oldest node from the current cluster group.
The resulting cluster group is dynamic and will always pick the next oldest
node if the previous one leaves topology even after the cluster group has
been created.
<p>
Use <a href="../../../../org/apache/ignite/client/ClientClusterGroup.html#node--"><code>node()</code></a> method to get the oldest node.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Cluster group containing one oldest node from the current cluster group.</dd>
</dl>
</li>
</ul>
<a name="forYoungest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forYoungest</h4>
<pre><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a>&nbsp;forYoungest()</pre>
<div class="block">Creates a cluster group with one youngest node in the current cluster group.
The resulting cluster group is dynamic and will always pick the newest
node in the topology, even if more nodes entered after the cluster group
has been created.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Cluster group containing one youngest node from the current cluster group.</dd>
</dl>
</li>
</ul>
<a name="forHost-org.apache.ignite.cluster.ClusterNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forHost</h4>
<pre><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a>&nbsp;forHost(<a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&nbsp;node)</pre>
<div class="block">Gets cluster group consisting from the nodes in this cluster group residing on the
same host (with the same MAC address) as the given node.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - Node to select the host for.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Cluster group for nodes residing on the same host as the specified node.</dd>
</dl>
</li>
</ul>
<a name="forHost-java.lang.String-java.lang.String...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forHost</h4>
<pre><a href="../../../../org/apache/ignite/client/ClientClusterGroup.html" title="interface in org.apache.ignite.client">ClientClusterGroup</a>&nbsp;forHost(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;host,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;hosts)</pre>
<div class="block">Gets cluster group consisting from the nodes running on the hosts specified.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>host</code> - Host name to get nodes to put in cluster</dd>
<dd><code>hosts</code> - Host names to get nodes to put in cluster.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Cluster group for nodes residing on the hosts specified.</dd>
</dl>
</li>
</ul>
<a name="nodes--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nodes</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'>&lt;</span><a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a><span class='angle_bracket'>&gt;</span>&nbsp;nodes()</pre>
<div class="block">Gets the read-only collection of nodes in this cluster group.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>All nodes in this cluster group.</dd>
</dl>
</li>
</ul>
<a name="node-java.util.UUID-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>node</h4>
<pre><a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&nbsp;node(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&nbsp;nid)</pre>
<div class="block">Gets a node for given ID from this cluster group.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nid</code> - Node ID.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Node with given ID from this cluster group or <code>null</code>, if such node does not exist.</dd>
</dl>
</li>
</ul>
<a name="node--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>node</h4>
<pre><a href="../../../../org/apache/ignite/cluster/ClusterNode.html" title="interface in org.apache.ignite.cluster">ClusterNode</a>&nbsp;node()</pre>
<div class="block">Gets first node from the list of nodes in this cluster group. This method is specifically
useful for cluster groups with one node only.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>First node from the list of nodes in this cluster group or <code>null</code> if the cluster group is empty.</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/ClientClusterGroup.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>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/ignite/client/ClientCluster.html" title="interface in org.apache.ignite.client"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/ignite/client/ClientCompute.html" title="interface in org.apache.ignite.client"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/ignite/client/ClientClusterGroup.html" target="_top">Frames</a></li>
<li><a href="ClientClusterGroup.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>2020 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 Database and Caching Platform</b> </td> <td>:&nbsp;&nbsp; ver. <strong>2.9.0</strong> </td> </tr> <tr style="padding: 0; margin: 0"> <td> <b>Release Date</b> </td> <td>:&nbsp;&nbsp; October 15 2020 </td> </tr> </tbody> </table> </td> </tr> </table></small></p>
</body>
</html>