curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jordan Zimmerman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CURATOR-120) NodeCache and PathChildrenCache should not perform writes
Date Thu, 10 Jul 2014 17:40:07 GMT

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

Jordan Zimmerman commented on CURATOR-120:
------------------------------------------

BTW - you can get the behavior you want by wrapping the CuratorFramework instance and returning
a stub for EnsurePath. Internally, client.newNamespaceAwareEnsurePath() is called.

> NodeCache and PathChildrenCache should not perform writes
> ---------------------------------------------------------
>
>                 Key: CURATOR-120
>                 URL: https://issues.apache.org/jira/browse/CURATOR-120
>             Project: Apache Curator
>          Issue Type: Improvement
>          Components: Recipes
>            Reporter: Scott Blum
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> NodeCache and PathChildrenCache should act as read-only views of data.  Unnecessarily,
both of them forcibly create the node being watched.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message