Hi Alexey,

Alexey V. Ryazanov wrote
> I stop grid by
/
> G.stop("myGridName", false);
/
> 
> It seems to me it takes some time to stop. Can I be notified somehow when
> grid has actually been stopped? Cause now I have to use 
/
> Thread.sleep()
/
>  in order to take a time before I can start grid again.

First of all, you should use Ignition.stop(..) instead of G.stop(..),
because the latter is not part of the public API.

Anyway, stop method is synchronous, so when it's finished, you should be
able to start Ignite again. Does it behave differently for you? When happens
when you try to restart?

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/How-can-I-be-sure-grid-is-actualy-stopped-tp1571p1572.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to