Makes sense! I create the ticket:
https://issues.apache.org/jira/browse/IGNITE-2560

-Val

On Thu, Feb 4, 2016 at 6:22 PM, Dmitriy Setrakyan <[email protected]>
wrote:

> Agree. I think we can avoid the performance degradation… If we cache the
> fact that EP does not have any resource annotations, then we can skip the
> injection without any performance impact, no?
>
> On Thu, Feb 4, 2016 at 5:48 PM, Valentin Kulichenko <
> [email protected]> wrote:
>
> > Igniters,
> >
> > I noticed that we don't inject resources to entry processors. This
> doesn't
> > look consistent, because do this everywhere else (closures, jobs,
> > listeners, etc.). But at the same time I believe it will cause
> performance
> > degradation, because we will have to inject on each operation.
> >
> > Any thoughts on that? Maybe we should support it, but make it optional
> with
> > a configuration flag?
> >
> > -Val
> >
>

Reply via email to