Patrick Hunt updated ZOOKEEPER-66:

    Resolution: Won't Fix
        Status: Resolved  (was: Patch Available)

Closing this issue. 

We don't want to encourage users to use null watchers. There are very limited 
cases where a null watcher might be useful - probably just during the initial 
"kicking the tires" phase of learning ZK. 

Implementing a production client requires the developer to implement a full 
watcher that is able to handle events and status changes (resetting watches if 
disconnected from the server for example).

> Add NullWatcher, a watcher that does nothing
> --------------------------------------------
>                 Key: ZOOKEEPER-66
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-66
>             Project: Zookeeper
>          Issue Type: New Feature
>          Components: java client
>            Reporter: Anthony Urso
>            Priority: Minor
>         Attachments: nullwatcher.diff
> I found that I was repeating this code all over the place. Here is a 
> NullWatcher class, a Watcher that does nothing at all.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to