[
https://issues.apache.org/jira/browse/ZOOKEEPER-442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040360#comment-13040360
]
Benjamin Reed commented on ZOOKEEPER-442:
-----------------------------------------
yes, vitalii, the exists watch for a node that will never exist, and the
process that establishes the watch knows this, is probably the most compelling
use case.
just a slight clarification: the watch will be removed if the session that set
it is closed. in many environments there are very long sessions; it's not
forever, but it approximates forever :)
> need a way to remove watches that are no longer of interest
> -----------------------------------------------------------
>
> Key: ZOOKEEPER-442
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-442
> Project: ZooKeeper
> Issue Type: Improvement
> Reporter: Benjamin Reed
>
> currently the only way a watch cleared is to trigger it. we need a way to
> enumerate the outstanding watch objects, find watch events the objects are
> watching for, and remove interests in an event.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira