incubator-blur-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravikumar Govindarajan <ravikumar.govindara...@gmail.com>
Subject Re: One way queries via Blur.java
Date Tue, 28 Jun 2016 10:18:32 GMT
Thanks Aaron...


On Sun, Jun 26, 2016 at 7:30 PM, Aaron McCurry <amccurry@gmail.com> wrote:

> The async client is really just an extension of the Thrift Async client
> that has been made a little easier to use.  Basically it gives you a none
> blocking way to execute requests and it takes a callback to handle errors
> and successes.  Here is an example of how to run a query using it:
>
>
> https://github.com/apache/incubator-blur/blob/master/blur-thrift/src/main/java/org/apache/blur/thrift/util/SimpleAsyncQueryExample.java#L35
>
> Aaron
>
>
> On Thu, Jun 23, 2016 at 2:06 AM, Ravikumar Govindarajan <
> ravikumar.govindarajan@gmail.com> wrote:
>
> > Sometimes we send warmup-queries that are one way street. That is, we
> just
> > keep submitting it to the controller-server & don't need to wait for a
> > response...
> >
> > Right now, I see that Blur.query() method blocks till response arrives. I
> > see an AsyncClient, but I don't understand it's use...
> >
> > --
> > Ravi
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message