回复:how does Ignite Client restart ContinuousQuery when Ignite cluster failed and restart

2018-09-06 Thread Hansen Qin
It is a Map storaging a snapshot of ignite cache data.You can see it defined in my code. private Map cacheMap = new ConcurrentHashMap<>(); public void continueQueryCache() { try { IgniteCache clientCache = makeIgniteCache(); if (clientCache != null) { ContinuousQuery query = new

how does Ignite Client restart ContinuousQuery when Ignite cluster failed and restart

2018-09-05 Thread Hansen Qin
I have 2 ignite cluster nodes on 2 AWS servers,both starting as server model.In my client,I use ContinuousQuery to listen to the Ignite events that i config and update my local cache data when event happens. I meet a problem when using this way to synchronize my local cache with ignite