apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chandni Singh <chan...@datatorrent.com>
Subject Re: Stateful vs Stateless Operators
Date Thu, 10 Dec 2015 19:32:33 GMT
The @Stateless attribute is not @Inherited.

http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Inherited.html

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 <Brennon.York@capitalone.com
> 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’s stateful vs stateless determination, does it take
> the base class, something else? Trying to understand and didn’t find 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 information
> 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 intended
> 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.
>

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