Are Watchers execute sequentially or in parallel ?

2010-06-29 Thread André Oriani
Hi, Are Watchers executed sequentially or in parallel ? Suppose I want to monitor the children of a znode for any modification. I don't want the same watcher to be re-executed while it is still executing. 1) public class ChildrenWatcher implements Watcher{ public void

Re: Are Watchers execute sequentially or in parallel ?

2010-06-29 Thread André Oriani
Thanks Ben. It was a copy and past mistake. So that means method process() must return as soon as possible. On Tue, Jun 29, 2010 at 11:48, Benjamin Reed br...@yahoo-inc.com wrote: watchers are executed sequentially and in order. there is one dispatch thread that invokes the watch callbacks.