You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Eelco Hillenius <ee...@gmail.com> on 2014/05/01 22:17:27 UTC

block rather than sleep until local cluster is in business?

Hi,

I'm writing unit tests for some Storm code and have been trying to
find a way to wait for LocalCluster to be initialized. Is there a
straightforward way to do that? Instead of letting the current thread
sleep for a little, which is what I see a lot in examples, I'd like to
block (e.g. using a countdownlatch) until it is up.

Thanks,

Eelco