-RE: Are curator framework consumers single threaded?
Jordan Zimmerman 2012-03-06, 08:12
>I was also wondering if there are examples on how to use Curator.
That's something I need to work on.
From: Amirhossein Kiani [[EMAIL PROTECTED]]
Sent: Monday, March 05, 2012 9:07 PM
To: Jordan Zimmerman; [EMAIL PROTECTED]
Subject: Re: Are curator framework consumers single threaded?
+ Jordan (My apologies if this is not the right mailing list... I looked around and couldn't find a mailing list for Curator)
I was also wondering if there are examples on how to use Curator. I have been following the tests and I'm worried that I'm doing something wrong...
On Mar 5, 2012, at 8:18 PM, Amirhossein Kiani wrote:
> Hi Jordan,
> First of all, thanks a lot for all the great work on Curator! I have started using it and it is amazingly simplifying my code!
> I have just ran into this issue recently that I am using a Distributed Queue, a Path Cache and a Distributed Double Barrier in my code, and having some difficulties. I'm trying to run everything with the test framework Curator provides and it seems like when I enter() the barrier in one of my objects the other one (that is using a different client) is also blocked.
> Is there a way to have the Queue consumer object as well as Event listeners for the Path Cache start in new threads?
> Many thanks,