Return-Path: X-Original-To: apmail-apex-dev-archive@minotaur.apache.org Delivered-To: apmail-apex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA1151870A for ; Thu, 10 Dec 2015 19:32:49 +0000 (UTC) Received: (qmail 36164 invoked by uid 500); 10 Dec 2015 19:32:49 -0000 Delivered-To: apmail-apex-dev-archive@apex.apache.org Received: (qmail 36094 invoked by uid 500); 10 Dec 2015 19:32:49 -0000 Mailing-List: contact dev-help@apex.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.incubator.apache.org Delivered-To: mailing list dev@apex.incubator.apache.org Received: (qmail 36082 invoked by uid 99); 10 Dec 2015 19:32:49 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2015 19:32:49 +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 B66E0C60C4 for ; Thu, 10 Dec 2015 19:32:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.001 X-Spam-Level: *** X-Spam-Status: No, score=3.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=datatorrent-com.20150623.gappssmtp.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 4bXA9fcKpxEv for ; Thu, 10 Dec 2015 19:32:35 +0000 (UTC) Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id CE733429C3 for ; Thu, 10 Dec 2015 19:32:34 +0000 (UTC) Received: by wmec201 with SMTP id c201so39073213wme.1 for ; Thu, 10 Dec 2015 11:32:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datatorrent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=MJynBBPDg0dOMvbsefF/NtE3u9x+Y4peMSIrKGln3K8=; b=RzwZ96fGvTaBOgRfa/ktOYf/EhNi5PJeh8gqyB0t6U62TZEBnBxZXvZOA0pNAkQ/DR RlAJ0eDkTixNHiiijHq9jJT0SpJ0w9+Y873DbsQca/xZhW7wwJmAkNWSg3OYCjGMaWMp Wdt+LTSK+fY3m+OylV+AvLj1lV5cfmgvuNNeaxWZX3WrGSNP6x4GZXfjA+qYEq8n/jFD aoCsqSvQ3zG4XFtC/8/e4R6BFcVLveZIfUkpXzqgYV21G7qsAH6yhKgfF31o3/J1rsyG Xf1554kMPHykYAtjufnaxeZxtNAbaigR/CusV9Z/+xAZxMy2lHXPPUp23NndrsSOvTy3 GHpg== 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:date :message-id:subject:from:to:content-type; bh=MJynBBPDg0dOMvbsefF/NtE3u9x+Y4peMSIrKGln3K8=; b=m36BfjH/WgM4ZGeLchMCsyfCR1kzzoYnP5Nbn4cbqClfX2ALHoQ8GgaDrG8XgcK9i4 mwDvHxaQsrcWeNWGqLYQBQNTkoRTx7vev3mIKz7AIPwq6pC1yfacTN93pwwMr8pEeDuR 6FUl0TgDc1YsgqNQnT65s3jHaAE3WqjtTPXUNgwN/5yClsQVaDqYDvFEWlyJFHnjwaoh y6tDi5pm2JP9hkXI1nMLHKVHi+p/nSsOtgfL7XNmHGs3X8tR/qcayghZSNTehIx4aSMI OHxJJbmaQMVMT72JNw2/sUaC2LTcWEnP+gierVg9dvqUKe0EFHyRaYpuyMJVTGDtS8aX OIUg== X-Gm-Message-State: ALoCoQnC4U3J/vymEOXisUONEiy5J/j3Vtsk1UuUxGt2PouEm9ttXTGydUmwIeZ8/Ve5s+1h3MhS2l78KThyWOisJ/ZDfzbH9MqPLu5DdF0kgq6WimctMUI= MIME-Version: 1.0 X-Received: by 10.194.246.132 with SMTP id xw4mr15072482wjc.75.1449775953853; Thu, 10 Dec 2015 11:32:33 -0800 (PST) Received: by 10.28.127.209 with HTTP; Thu, 10 Dec 2015 11:32:33 -0800 (PST) In-Reply-To: References: Date: Thu, 10 Dec 2015 11:32:33 -0800 Message-ID: Subject: Re: Stateful vs Stateless Operators From: Chandni Singh To: dev@apex.incubator.apache.org Content-Type: multipart/alternative; boundary=089e0168199ebbdb5905269044b3 --089e0168199ebbdb5905269044b3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The @Stateless attribute is not @Inherited. http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Inherited.htm= l This means that B (if not annotated with Stateless) will be considered stateful. Chandni On Thu, Dec 10, 2015 at 11:24 AM, York, Brennon wrote: > How does stateful vs stateless operation work with operators implementing > a base class? For example, if I have operator A as an abstract class and > marked as @Stateless, but then have operator B implement operator A and B > is not stateless, what will the system do? Does it always take the > implementing operator=E2=80=99s stateful vs stateless determination, does= it take > the base class, something else? Trying to understand and didn=E2=80=99t f= ind any > info on it at docs.datatorrent.com or in the codebase. > ________________________________________________________ > > The information contained in this e-mail is confidential and/or > proprietary to Capital One and/or its affiliates and may only be used > solely in performance of work or services for Capital One. The informatio= n > transmitted herewith is intended only for use by the individual or entity > to which it is addressed. If the reader of this message is not the intend= ed > recipient, you are hereby notified that any review, retransmission, > dissemination, distribution, copying or other use of, or taking of any > action in reliance upon this information is strictly prohibited. If you > have received this communication in error, please contact the sender and > delete the material from your computer. > --089e0168199ebbdb5905269044b3--