While I use this approach, I have seen the injected object become null. I didn't use transient. Would that be the cause of it?
Pires On Tue, Aug 2, 2016 at 4:02 AM, vkulichenko <[email protected]> wrote: > Hi, > > I would not recommend to serialize instances of Ignite, IgniteCache, > IgniteQueue, etc. This is supported, but provides unnecessary overhead. > You > can always inject Ignite into your job using annotation: > > @IgniteInstanceResource > private transient Ignite ignite; > > -Val > > > > -- > View this message in context: http://apache-ignite-users. > 70518.x6.nabble.com/compute-best-practices-examples-tp6663p6664.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > -- *Paulo Pires* senior infrastructure engineer | littleBits <http://www.google.com/url?q=http%3A%2F%2Flittlebits.cc%2F&sa=D&sntz=1&usg=AFrqEzdmD1TfneYzn_vRGBO0a4wHpG-Ivg> *T* (917) 464-4577 unleash your inner inventor. <https://youtu.be/fMg5QPQQOOI>
