ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "javastuff.sam@gmail.com" <javastuff....@gmail.com>
Subject Re: Event Listeners
Date Mon, 17 Oct 2016 22:38:03 GMT
I will try out continuous query. In mean time I tried other approach, each
node in cluster registers cache entry listener -

IgniteCache cache = ignite.getOrCreateCache(CACHE_NAME);

With this, listeners are being called on each registered node and I am able
to define specific cache and specific kind of events to listen. 
This works without configuring events in configuration (includeEventTypes).

Since event listeners on each node is called this seems simpler to work with
and probably less expensive because of specific cache used for listeners.  

Referring from -

Could you please comment on this approach? 

View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Event-Listeners-tp8306p8331.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message