[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618906#action_12618906
 ] 

Mahadev konar commented on ZOOKEEPER-104:
-----------------------------------------

the second thing is what i did in my patch... 

so the interruptexception is thrown by zookeeper only when some other thread 
interrupts zookeeper and tells zookeeper client to go away. the zookeeper 
client does blocking calls and thus throws the interrupted exception... the Set 
api is not supposed to do any blocking calls (looks like)... the only 
alternative left if throw out a runtime exception.... dont know if this use 
case fits zookeeper....  

> KeptSet: a distributed data stucture backed by the children of a ZooKeeper 
> node
> -------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-104
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-104
>             Project: Zookeeper
>          Issue Type: New Feature
>          Components: java client
>            Reporter: Anthony Urso
>            Assignee: Anthony Urso
>            Priority: Minor
>         Attachments: ZOOKEEPER-104.patch, ZOOKEEPER-104.patch, 
> ZOOKEEPER-104.patch
>
>
> Here is an implementation of a ZooKeeper backed Java Set. It should be 
> generally useful.

-- 
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