[ 
https://issues.apache.org/jira/browse/CURATOR-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13679868#comment-13679868
 ] 

Jordan Zimmerman commented on CURATOR-25:
-----------------------------------------

The dataLock can be replaced with an AtomicReference. Also, the sync() in 
resetData() doesn't actually accomplish anything as the update is done in the 
background. I'll update the implementation with a data setter that uses atomics
                
> Create a PersistentEphemeralNode recipe
> ---------------------------------------
>
>                 Key: CURATOR-25
>                 URL: https://issues.apache.org/jira/browse/CURATOR-25
>             Project: Apache Curator
>          Issue Type: Task
>          Components: Recipes
>            Reporter: Jordan Zimmerman
>            Assignee: Jordan Zimmerman
>             Fix For: 2.0.2-incubating
>
>         Attachments: PersistentEphemeralNode.java, 
> TestPersistentEphemeralNode.java
>
>
> Per https://github.com/Netflix/curator/pull/201 and similar requests, create 
> a PersistentEphemeralNode recipe 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to