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 A7A7210456 for ; Thu, 2 May 2013 15:14:41 +0000 (UTC) Received: (qmail 51093 invoked by uid 500); 2 May 2013 15:14:41 -0000 Delivered-To: apmail-curator-dev-archive@curator.apache.org Received: (qmail 51065 invoked by uid 500); 2 May 2013 15:14:41 -0000 Mailing-List: contact dev-help@curator.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@curator.incubator.apache.org Delivered-To: mailing list dev@curator.incubator.apache.org Received: (qmail 51057 invoked by uid 99); 2 May 2013 15:14:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 May 2013 15:14:41 +0000 X-ASF-Spam-Status: No, hits=-2002.4 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 02 May 2013 15:14:39 +0000 Received: (qmail 49546 invoked by uid 99); 2 May 2013 15:14:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 May 2013 15:14:17 +0000 Date: Thu, 2 May 2013 15:14:17 +0000 (UTC) From: "Eric Tschetter (JIRA)" To: dev@curator.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CURATOR-21) PathChildrenCache consumes an entire thread all the time no matter what MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CURATOR-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Tschetter updated CURATOR-21: ---------------------------------- Attachment: (was: CURATOR-21-doc.patch) > PathChildrenCache consumes an entire thread all the time no matter what > ----------------------------------------------------------------------- > > Key: CURATOR-21 > URL: https://issues.apache.org/jira/browse/CURATOR-21 > Project: Apache Curator > Issue Type: Bug > Components: Recipes > Affects Versions: 2.0.0 > Reporter: Eric Tschetter > Assignee: Jordan Zimmerman > Attachments: CURATOR-21-docs.patch, CURATOR-21.patch > > > PathChildrenCache currently takes an Executor, but only to fire off a Runnable that does a blocking while loop waiting for work. This means that you must have one thread per PathChildrenCache, which is not that great. > PathChildrenCache should just use the Executor's work queuing mechanism to enqueue work items instead of maintaining its own work queue mechanism. -- 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