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 7F70E200CDD for ; Mon, 7 Aug 2017 21:12:54 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7E33B165DEA; Mon, 7 Aug 2017 19:12:54 +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 C44A1165DE9 for ; Mon, 7 Aug 2017 21:12:53 +0200 (CEST) Received: (qmail 81300 invoked by uid 500); 7 Aug 2017 19:12:52 -0000 Mailing-List: contact dev-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list dev@geode.apache.org Received: (qmail 81288 invoked by uid 99); 7 Aug 2017 19:12:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2017 19:12:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 14DFCC0385 for ; Mon, 7 Aug 2017 19:12:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.78 X-Spam-Level: * X-Spam-Status: No, score=1.78 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=pivotal-io.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id nKqaQJ8snEzS for ; Mon, 7 Aug 2017 19:12:45 +0000 (UTC) Received: from mail-qt0-f179.google.com (mail-qt0-f179.google.com [209.85.216.179]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 0E0345FC21 for ; Mon, 7 Aug 2017 19:12:44 +0000 (UTC) Received: by mail-qt0-f179.google.com with SMTP id s6so8296927qtc.1 for ; Mon, 07 Aug 2017 12:12:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pivotal-io.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=/oo0yy3+RZ4bw2LV6IYHN+MmyovaZzAQxwfUI1wSBXQ=; b=M2qxV2H/1+raLePnNT4Zzn/ylwjUxyRoVU14NRyWDawppK++MrmIO4q0ry9SpBCFmr 98hlzOQz6VpauGM7RyA9Lhsslo9GjsVXXtA22oWT1QDT/T9YJq/GXks0HNJcte7KX87L DquFI/zewR73Z/sgD+AY2il5MYTZmerBAkDQXFPfV25H3qeG1KH3MPEwL+zQ86sd3wcK SweS3dLhiroe6JmELT0ibroieAudm9C7EZYmOrh1l42dbWq0uhnJW7FjbUikOOB36FNu FGwuDzY8hnoem21v4mC/k17XKiJSBKAIkH/jgWvXyQCjYd+57PkHuxdJVKkvdjZ+GvnI GsyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=/oo0yy3+RZ4bw2LV6IYHN+MmyovaZzAQxwfUI1wSBXQ=; b=uTmbkqw3BMtirmubEN77yaU269v2y9CUo7bvu/mrBENvC4dpm3zfQkGbITojsbkiQq ctJDngCWMWU9YBZXTyuj4oR0LPhUCTpzjrJCtzkpQGshAE8zZLKzdxJzDJJ9oEroc4df 4lSefnTOsCpsti6yu4wNbkIwIPLGB1FXLzDAaM8CwYFIIQKR9jWDBfCEgmh7q1Nf+Zev uZM+6qFWAJpBml987R5YrCvAy84FSoJjOWyZ0QZdKGEjD31S68NigIgBLoP3yS8bR18z ud2uCqEFZcp6NxvtwOHsKfg0G0YhHrw2AVAuRYsWO12d6JDt5I7/3eYbH33WifYtCP17 Z3pw== X-Gm-Message-State: AHYfb5hgmbO2dxlwLpO/ZCTYDL6U+gWq+dl28klKN750S9XOPc/Ah9KZ M+UcY8j3qVXwvnBDu+jaYbCCW/46bdpc X-Received: by 10.200.43.177 with SMTP id m46mr2207131qtm.189.1502133163752; Mon, 07 Aug 2017 12:12:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.80.208 with HTTP; Mon, 7 Aug 2017 12:12:23 -0700 (PDT) In-Reply-To: <1FAAFA7A34E1AE429F43B79CE5FD92460179F33186@ILRAADAGBE3.corp.amdocs.com> References: <1FAAFA7A34E1AE429F43B79CE5FD92460179F330AA@ILRAADAGBE3.corp.amdocs.com> <1FAAFA7A34E1AE429F43B79CE5FD92460179F33186@ILRAADAGBE3.corp.amdocs.com> From: Anilkumar Gingade Date: Mon, 7 Aug 2017 12:12:23 -0700 Message-ID: Subject: Re: continuous query internal mechanism To: dev@geode.apache.org Content-Type: multipart/alternative; boundary="001a11397ee2a1a01e05562ea17d" archived-at: Mon, 07 Aug 2017 19:12:54 -0000 --001a11397ee2a1a01e05562ea17d Content-Type: text/plain; charset="UTF-8" CQ Processing on server side is same for all clients (Java, C++)... The subscription events are sent to client as ClientUpdateMessage, which holds information about registered events and CQ events. The client process this and updates/invokes the client side cache/listeners with respective event. Look into ClientUpdateMessageImpl and CacheClientUpdater (for client side processing). -Anil. On Mon, Aug 7, 2017 at 11:01 AM, Roi Apelker wrote: > Thanks, > > By the way, is there any difference in the behaviour of the server, if the > client that registered the CQ is a native (C++) client? > > I have been going over the classes and code for some time and can't seem > to find the actual location where a CQ update/notification is sent... > > It's like CqEventImpl class is never even generated in this scenario. > > If anyone can help here I would be most grateful :-) > > Thanks > > Roi > > > > -----Original Message----- > From: Anilkumar Gingade [mailto:agingade@pivotal.io] > Sent: Monday, August 07, 2017 8:23 PM > To: dev@geode.apache.org > Subject: Re: continuous query internal mechanism > > You can find those in CqServiceImpl.process*()... > > -Anil. > > > On Mon, Aug 7, 2017 at 9:14 AM, Roi Apelker > wrote: > > > Hello, > > > > I am trying to look into the code of the continuous query mechanism - > > where the GEODE server sends the notification back to the client. > > > > Can anyone point me to the central classes of continuous query, > > especially to the one that is responsible for the calculation of the > > new data and packing it as a message back to the client? > > > > Thanks, > > > > Roi > > > > This message and the information contained herein is proprietary and > > confidential and subject to the Amdocs policy statement, > > > > you may review at https://www.amdocs.com/about/email-disclaimer < > > https://www.amdocs.com/about/email-disclaimer> > > > This message and the information contained herein is proprietary and > confidential and subject to the Amdocs policy statement, > > you may review at https://www.amdocs.com/about/email-disclaimer < > https://www.amdocs.com/about/email-disclaimer> > --001a11397ee2a1a01e05562ea17d--