Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

How to set a watch for a deletion of a node?

$
0
0
Is there way to watch for a deletion of a child node? The callback thus
contains the node path which is being deleted.

The only way I would see it to work is to load a list of the children and
when a ChildrenWatch gets triggered, use it to compare with the list of
children returned. But this is not very intuitive. There must be a better
way to do this?

Thanks for any suggestion,

Yang

Viewing all articles
Browse latest Browse all 5648

Trending Articles