curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Tschetter (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CURATOR-21) PathChildrenCache consumes an entire thread all the time no matter what
Date Wed, 24 Apr 2013 19:31:16 GMT
Eric Tschetter created CURATOR-21:
-------------------------------------

             Summary: 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
    Affects Versions: 2.0.0
            Reporter: Eric Tschetter
            Assignee: Jordan Zimmerman


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

Mime
View raw message