RE: exist return true before event comes in

2009-08-04 Thread Benjamin Reed
: Re: exist return true before event comes in Interesting, that basically means if I want strict order, I have to use the async api? ~~~ Hadoop training and consulting http://www.scaleunlimited.com http://www.101tec.com On Aug 3, 2009, at 8:10 PM, Benjamin Reed wrote

Re: exist return true before event comes in

2009-08-03 Thread Stefan Groschupf
Interesting, that basically means if I want strict order, I have to use the async api? ~~~ Hadoop training and consulting http://www.scaleunlimited.com http://www.101tec.com On Aug 3, 2009, at 8:10 PM, Benjamin Reed wrote: I assume you are calling the synchronous

RE: exist return true before event comes in

2009-08-03 Thread Benjamin Reed
I assume you are calling the synchronous version of exists. The callbacks for both the watches and async calls are processed by a callback thread, so the ordering is strict. Synchronous call responses are not queued to the callback thread. (this allows you to make synchronous calls in callbacks