Re: Getting datacenter from InetSocketAddress

2015-05-28 Thread Cyril Scetbon
Outch, I've missed the getter ... Thanks ! > On May 28, 2015, at 00:33, Alex Popescu wrote: > > You can use: cluster.getMetadata().getAllHosts()

Re: Getting datacenter from InetSocketAddress

2015-05-27 Thread Alex Popescu
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