Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 840E1200B28 for ; Sun, 26 Jun 2016 16:00:43 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 82B88160A5C; Sun, 26 Jun 2016 14:00:43 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C9E19160A38 for ; Sun, 26 Jun 2016 16:00:42 +0200 (CEST) Received: (qmail 1740 invoked by uid 500); 26 Jun 2016 14:00:41 -0000 Mailing-List: contact blur-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: blur-user@incubator.apache.org Delivered-To: mailing list blur-user@incubator.apache.org Received: (qmail 1726 invoked by uid 99); 26 Jun 2016 14:00:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jun 2016 14:00:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id D5BDFC9FF0 for ; Sun, 26 Jun 2016 14:00:40 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id w7oFvvfCiLC6 for ; Sun, 26 Jun 2016 14:00:39 +0000 (UTC) Received: from mail-vk0-f48.google.com (mail-vk0-f48.google.com [209.85.213.48]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id AF0A35F23C for ; Sun, 26 Jun 2016 14:00:38 +0000 (UTC) Received: by mail-vk0-f48.google.com with SMTP id j2so203633747vkg.2 for ; Sun, 26 Jun 2016 07:00:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=a/pZWH24UyJZosjULNT3vIEGAWxVIClXASK+GR9TsN4=; b=zVH+MvcP991scYsaDiXLkGD1r3JdzFYuto100GhhT8clzoDP2ApfiAt5VQ9EFe3SL7 BHr7GzfzSzLCec7r5F1DabVHxX6CwIVDaDAg90mZUiGO7LyVg+BXyJNHeshoSszeLNmf xQE/3v/ktLVMQLfyyTkxwmCFbaW/Sd8MOetKM3YZznOUuQMa5xuqIW9YEf5/RFsEfOUN q1xWb3nWeK6PyTVsDYiVQolGeh5SWtXZd4QPR82jjaULNaI71/1Le/DWWBykybQJFhCF PzO8X3ZzlVD2y1G7B0y3A0qTXqx3FYhNUzM49kA+jiT9whG3+ZfUEltXVD4wWq+PZV0Y OgzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=a/pZWH24UyJZosjULNT3vIEGAWxVIClXASK+GR9TsN4=; b=bdbxkYxCTL/mu1dYyk4bNPCspQ/EFaWor2SuYblt1oCXV2g1IhzNNGNZxd5kbrwYYf kpnEjRfA8DesYgNsoYVh710xPJs4y0ZAhkYREg82V03XHPXB+h1VCqS1xRyre5crdFUT Kd8OSaHBLpXC6DTgx5wKme4m+O/ccOTJCKGtzPw5k8b/wgf1uFPC3NjaWnX/1WXkk8rm 5ZI3eEtzF7fvaTR0rzsouzpbJQGKWsY4U6dq4aDD1ylnmjYwRljjJUrxPeDoSi/adR6S L19temipw8C5cSwhpxG0DiMH3unEB8dOexYAJcDl+8l4f8p0z3o1KKNERAjnxwyqxkDt HNUg== X-Gm-Message-State: ALyK8tIOzJ4VUXc7BcD/fT/276aVT67LajVR+CWbUwr7VNwVdCUgUqUszokPyXVGNfvDN5luCQ6aX1hxOGyquA== X-Received: by 10.176.5.166 with SMTP id e35mr6282358uae.101.1466949637770; Sun, 26 Jun 2016 07:00:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.3.66 with HTTP; Sun, 26 Jun 2016 07:00:37 -0700 (PDT) In-Reply-To: References: From: Aaron McCurry Date: Sun, 26 Jun 2016 10:00:37 -0400 Message-ID: Subject: Re: One way queries via Blur.java To: "blur-user@incubator.apache.org" Content-Type: multipart/alternative; boundary=94eb2c123fe010144e05362ed457 archived-at: Sun, 26 Jun 2016 14:00:43 -0000 --94eb2c123fe010144e05362ed457 Content-Type: text/plain; charset=UTF-8 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 > --94eb2c123fe010144e05362ed457--