Return-Path: X-Original-To: apmail-curator-dev-archive@minotaur.apache.org Delivered-To: apmail-curator-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DF94311486 for ; Thu, 10 Jul 2014 02:32:04 +0000 (UTC) Received: (qmail 38581 invoked by uid 500); 10 Jul 2014 02:32:04 -0000 Delivered-To: apmail-curator-dev-archive@curator.apache.org Received: (qmail 38536 invoked by uid 500); 10 Jul 2014 02:32:04 -0000 Mailing-List: contact dev-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@curator.apache.org Delivered-To: mailing list dev@curator.apache.org Received: (qmail 38524 invoked by uid 99); 10 Jul 2014 02:32:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2014 02:32:04 +0000 Date: Thu, 10 Jul 2014 02:32:04 +0000 (UTC) From: "Cameron McKenzie (JIRA)" To: dev@curator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CURATOR-33) Recursive Node Cache MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CURATOR-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14057057#comment-14057057 ] Cameron McKenzie commented on CURATOR-33: ----------------------------------------- Up to you, I'm more than happy for you to have a crack at it if you're interested, but if you're not going to have time, then I'll look into it. I agree with your assessment that it should probably be a separate recipe though. My implementation went for the approach with the least code changes, but it would be rather inefficient with large caches as any time the children of any zNode changes, the whole map is refreshed. > Recursive Node Cache > -------------------- > > Key: CURATOR-33 > URL: https://issues.apache.org/jira/browse/CURATOR-33 > Project: Apache Curator > Issue Type: Improvement > Components: Recipes > Reporter: John Vines > Fix For: awaiting-response > > Attachments: CURATOR-33.2.patch, CURATOR-33.patch > > > Currently the PathChildrenCache will trigger listen events for all children at the given node. However, it would be useful to have a cache that would trigger listen events for the entire hierarchy below the given node. -- This message was sent by Atlassian JIRA (v6.2#6252)