You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Patrick Hunt <ph...@apache.org> on 2012/04/10 23:00:53 UTC

Re: node created/deleted notification

You can do an "exists" call and set a watch on any path, regardless of
whether the znode (or it's parents, etc...) currently exist.

Patrick

On Thu, Mar 22, 2012 at 2:14 AM, pavel kravchenko
<kr...@gmail.com> wrote:
> Is there an option to register watcher for create/delete event of ephemeral
> node that will be notified with information of path of the deleted/created
> node?
> Currently i'm using SESSION_EVENT to receive 'parent changed' event, but it
> requires another call to get children later.