Client and server nodes

Client and server nodes can be accessed through the predefined forClients() and forServers() methods of IgniteCluster. First, get the IgniteCluster:

IgniteCluster cluster = ignite.cluster();

Invoke the forClients() method of the cluster to get all client nodes:


ClusterGroup clientGroup = cluster.forClients();

Invoke the forServers() method of the cluster to get all server nodes:

ClusterGroup serverGroup = cluster.forServers();
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.132.99