ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yakov Zhdanov <yzhda...@apache.org>
Subject Re: Method to get all hostnames for a ClusterGroup
Date Tue, 09 Jun 2015 11:23:45 GMT
I think your solution is fine, but you should add host names to a set (to
avoid duplicates).

--Yakov

2015-06-06 21:36 GMT+03:00 Atri Sharma <atri.jiit@gmail.com>:

> Folks,
>
> I have been trying to get list of all hostnames for a given ClusterGroup. I
> think current solution is to get nodes() and then iterate over it and
> append node hostNames() to a string array.
>
> Is there method for directly getting the list?
>
> --
> Regards,
>
> Atri
> *l'apprenant*
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message