Re: zookeeper.getChildren asynchronous callback

2009-06-10 Thread Henry Robinson
Hi Satish - As you've found out, you can set multiple identical watches per znode - the zookeeper client will not detect identical watches in case you really meant to call them several times. There's no way currently, as far as I know, to clear the watches once they've been set. So your options ar

zookeeper.getChildren asynchronous callback

2009-06-10 Thread Satish Bhatti
I am using the asynchronous (callback) version of zookeeper.getChildren(). That call returns immediately, I then wait for a certain time interval for nodes to appear, and if not I exit the method that made the zookeeper.getChildren() call. Later on, a node gets added under that node and I see in