Provide a way to register() for globs or regex's #35

eric opened this Issue Jul 19, 2012 · 1 comment


None yet

2 participants

eric commented Jul 19, 2012

In trying to watch for changes to children of a znode, I found that it is difficult to keep track of which children have been register()'d for and which haven't.

It would be nice to be able to provide either a glob or a regex to register() that could be registered once and fire for all of the children.


This seems like it would be expensive.

Would you not have to first perform a stat on the top-level of all the children and then only set the register on the znodes that matched the pattern? Just thinking out loud here. Unless you registered on the root node of something and then merely filtered out on the pattern.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment