Java Client and multithreading?

Hi all,

I'd like to be sure if the Java Client object is treadsafe. Can I use a
such Client object in multiple concurrent thread?

Node node = nodeBuilder().node();
Client client = node.client();

Thanks,

--
Tanguy
twitter.com/tlrx

Yes Tanguy, it's safe !

David :wink:
Twitter : @dadoonet / @elasticsearchfr

Le 2 avr. 2012 à 11:20, Tanguy tlrx.dev@gmail.com a écrit :

Hi all,

I'd like to be sure if the Java Client object is treadsafe. Can I use a such Client object in multiple concurrent thread?
Node node = nodeBuilder().node();
Client client = node.client();
Thanks,

--
Tanguy
twitter.com/tlrx