curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <jor...@jordanzimmerman.com>
Subject Re: Reading the current queue content
Date Thu, 17 Oct 2013 14:50:29 GMT
getChildren returns the list of ZNodes. You must then call getData() for each node. But, the
data format is private. Why do you need it? It seems strange to have Curator managing the
queue and then for you to manage it as well.

-Jordan

On Oct 17, 2013, at 1:04 AM, Sznajder ForMailingList <bs4mailinglist@gmail.com> wrote:

> Thanks Jordan
> 
> However, it returns me a list of String.
> How can I pass from this String to the Object I added to the queue?
> 
> Benjamin
> 
> 
> On Thu, Oct 17, 2013 at 12:54 AM, Jordan Zimmerman <jordan@jordanzimmerman.com>
wrote:
> Call getChildren() on the parent node.
> 
> On Oct 16, 2013, at 3:40 AM, Sznajder ForMailingList <bs4mailinglist@gmail.com>
wrote:
> 
> > Hi
> >
> > I am using the QUEUE recipe of Curator.
> >
> > However, for some reason, I would need to know, what are the current members of
the queue at a given time.
> >
> > I did not find in the API the way to do that.
> >
> > Thanks!
> >
> > Benjamin
> 
> 


Mime
View raw message