You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by vkulichenko <va...@gmail.com> on 2017/08/02 23:04:50 UTC

Re: Whether we can access ignite cache in event listener?

James,

First of all, please properly subscribe to the mailing list so that the
community can receive email notifications for your messages. To subscribe,
send empty email to user-subscribe@ignite.apache.org and follow simple
instructions in the reply.

It's not recommended to run sync operations in event listeners, because
listener can be invoked within a cache entry lock - this combination can
easily cause a deadlock. You can initiate a cache operation, but do this
asynchronously in a separate thread.

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Whether-we-can-access-ignite-cache-in-event-listener-tp15881p15926.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.