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 <
[email protected]> 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
>

Reply via email to