zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hunt <ph...@apache.org>
Subject Re: node created/deleted notification
Date Tue, 10 Apr 2012 21:00:53 GMT
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.


On Thu, Mar 22, 2012 at 2:14 AM, pavel kravchenko
<kravchenko.pavel@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.

View raw message