Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

How can I watch a node at all time #17

Closed
VincentWY opened this issue Nov 19, 2013 · 2 comments
Closed

How can I watch a node at all time #17

VincentWY opened this issue Nov 19, 2013 · 2 comments

Comments

@VincentWY
Copy link

I got a problem with watch a node. Since I call the "ChildrenW" function to get children list with the parent node, but I can get the change notification only at once. If I want to watch a node at all time, How can I do?

@samuel
Copy link
Owner

samuel commented Nov 19, 2013

The watchers in zookeeper only fire once. In order to reset the watch you have to do the call again (e.g. ChildrenW).

@samuel samuel closed this as completed Nov 19, 2013
@achilsh
Copy link

achilsh commented Dec 1, 2019

good job. i redo childrenw() again after received event registered befored

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants