ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: Whether we can access ignite cache in event listener?
Date Wed, 02 Aug 2017 23:04:50 GMT

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.


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.

View raw message