We should document the annotation in the dev guide:

http://docs.datatorrent.com/operator_development/



On Thu, Dec 10, 2015 at 11:32 AM, Chandni Singh <[email protected]>
wrote:

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

Reply via email to