I am using elasticsearch embedded in my webapplication. I really need the
methods "isStarted" and "isStopped" on Node api. Currently I wait in my
current thread for several seconds for starting/stopping, but I think that
it will bring more code clarity to have this methods in the java api.
Something like this:
/**
Returns true if the node is active and ready to be used, false otherwise.
*/
public boolean isStarted();
/**
Returns true if the node managed to stop all threads started by it,
false otherwise.
*/
public boolean isStopped();
I am using elasticsearch embedded in my webapplication. I really need the
methods "isStarted" and "isStopped" on Node api. Currently I wait in my
current thread for several seconds for starting/stopping, but I think that
it will bring more code clarity to have this methods in the java api.
Something like this:
/**
Returns true if the node is active and ready to be used, false
otherwise.
*/
public boolean isStarted();
/**
Returns true if the node managed to stop all threads started by it,
false otherwise.
*/
public boolean isStopped();
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.