hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Bowman <ebow...@boboco.ie>
Subject Re: Watches
Date Thu, 04 Jun 2009 19:53:23 GMT
Avinash Lakshman wrote:
> I want to get notified whenever any sub znode is created under /A. Only one
> process amongst many will create these sub znodes. But everyone needs to be
> notified about this

Right.  So, each process that needs to be notified should call

zk_.watchChildren( "/A", true )

Every process that makes that call will get notified when a child is created (directly) under

Eric Bowman
Boboco Ltd

View raw message