Bug: Node.stop() is not stopping the threads started by Node.start()

Hi guys,

I am using java api of elasticsearch. Since Node.start() method is starting
all the threads needed by elasticsearch, I expect that Node.stop() should
be able to stop the threads started by Node.start().
If the stopping is done asynchronously, I expect to have another method to
check if the node was correctly stopped.

Is there another way to do this?

Thank you very much,
Doru

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/35f9f306-97c4-4daf-8642-001df38f4c4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hey,

did you try node.close()

--Alex

On Mon, Apr 14, 2014 at 10:37 AM, Doru Sular doru.sular@gmail.com wrote:

Hi guys,

I am using java api of elasticsearch. Since Node.start() method is
starting all the threads needed by elasticsearch, I expect that Node.stop()
should be able to stop the threads started by Node.start().
If the stopping is done asynchronously, I expect to have another method to
check if the node was correctly stopped.

Is there another way to do this?

Thank you very much,
Doru

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/35f9f306-97c4-4daf-8642-001df38f4c4c%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/35f9f306-97c4-4daf-8642-001df38f4c4c%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGCwEM86E9ta%2BVW0KtwTK-qvLBAgrzAS6yA-HmMDf0%2BfOuW0oQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.