Outch, I've missed the getter ...
Thanks !
> On May 28, 2015, at 00:33, Alex Popescu wrote:
>
> You can use: cluster.getMetadata().getAllHosts()
1. This question is better asked on the Java driver mailing list
2. You can use: cluster.getMetadata().getAllHosts() and the Host class
contains the details you are looking for.
On Wed, May 27, 2015 at 9:49 AM, Cyril Scetbon
wrote:
> Hi,
>
> I have a Cluster instance and I'd like to get all hos
Hi,
I have a Cluster instance and I'd like to get all hosts from it to check in
which datacenter they are. Is there a way to do that ? I tried by accessing the
cluster metadata and using allHosts, but this function is only private :(
Actually, I have a cluster instance and an ip address and I'd