ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: How to avoid the event lost in the continuous query
Date Fri, 23 Sep 2016 22:03:35 GMT
Hi,

You can use ContinuousQuery.setInitialQuery to get the state of the cache at
the moment of query execution. The results for this query will be returned
in the cursor returned from the query() method. Note that in this case
listener is actually registered before the initial query execution, so there
will be no lost events, but duplicates are possible.

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-to-avoid-the-event-lost-in-the-continuous-query-tp7904p7922.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message