roar109 wrote
> Sure, I have a cluster of clients (2) (same WAR's) that connects to a
> cluster or Ignite nodes (2). I want to be able to register the events to
> the ignite nodes only once and gets executed in all the nodes that detect 
> a change in the cache. with what you mention I dont see a clear path maybe
> use some "flag" for example an AtomicLong or something to hold the status
> of the "registration".

Do you want to get notifications on all clients? If so, each client has to
register its own remote listener. So with 2 clients you will have 2
listeners which are completely independent. I.e., they can have different
filters and callbacks.

roar109 wrote
> Is there a way to pause the events execution? or needs to
> stopLocal/stopRemoteListener only?

You can also return false from the local listener. This will automatically
stop this listener.

-Val



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

Reply via email to