You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Andrew Kornev (JIRA)" <ji...@apache.org> on 2008/07/07 05:01:31 UTC

[jira] Updated: (ZOOKEEPER-39) Use Watcher objects rather than boolean on read operations

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kornev updated ZOOKEEPER-39:
-----------------------------------

    Attachment: ZOOKEEPER-39.patch

This patch implements the new watcher "object" API. Internally, it uses a map to maintain the mapping between the znode path and watcher function/context. Every time a watch event arrives the client delegates event processing to an associated watcher object if one exists.

The patch also includes a suite of unit tests for both single- and multithreaded libraries as well as for the Sync and Async APIs.

> Use Watcher objects rather than boolean on read operations
> ----------------------------------------------------------
>
>                 Key: ZOOKEEPER-39
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-39
>             Project: Zookeeper
>          Issue Type: New Feature
>          Components: c client, java client
>            Reporter: Patrick Hunt
>            Assignee: Andrew Kornev
>             Fix For: 3.0.0
>
>         Attachments: ZOOKEEPER-39.patch
>
>
> Moved from SourceForge to Apache.
> http://sourceforge.net/tracker/index.php?func=detail&aid=1962501&group_id=209147&atid=1008547

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