Re: What's the difference between ClientCache#removeAll() and ClientCache#clear()

2019-04-26 Thread Ken Cheng
File a Jira https://issues.apache.org/jira/browse/IGNITE-11817 Thanks, Ken Cheng On Fri, Apr 26, 2019 at 11:26 PM Dmitriy Pavlov wrote: > Hi Ken, > > please feel free to create and PR and ticket for updating this. > > Sincerely, > Dmitriy Pavlov > > пт, 26 апр. 2019 г. в 18:22, Ken Cheng : >

Re: What's the difference between ClientCache#removeAll() and ClientCache#clear()

2019-04-26 Thread Dmitriy Pavlov
Hi Ken, please feel free to create and PR and ticket for updating this. Sincerely, Dmitriy Pavlov пт, 26 апр. 2019 г. в 18:22, Ken Cheng : > [image: image.png] > > There is no java doc about this. Anyway thank you very much! > > > Thanks, > Ken Cheng > > > On Fri, Apr 26, 2019 at 7:52 PM Ilya K

Re: What's the difference between ClientCache#removeAll() and ClientCache#clear()

2019-04-26 Thread Ken Cheng
[image: image.png] There is no java doc about this. Anyway thank you very much! Thanks, Ken Cheng On Fri, Apr 26, 2019 at 7:52 PM Ilya Kasnacheev wrote: > Hello! > > Clear will not notify cache listeners or CacheWriters, but removeAll() > will. > > This is as per IgniteCache doc (which I gue

Re: What's the difference between ClientCache#removeAll() and ClientCache#clear()

2019-04-26 Thread Ilya Kasnacheev
Hello! Clear will not notify cache listeners or CacheWriters, but removeAll() will. This is as per IgniteCache doc (which I guess is underlying here). Regards, -- Ilya Kasnacheev пт, 26 апр. 2019 г. в 05:10, kcheng.mvp : > Here is the code snippet from > org.apache.ignite.client.ClientCache

What's the difference between ClientCache#removeAll() and ClientCache#clear()

2019-04-25 Thread kcheng.mvp
Here is the code snippet from org.apache.ignite.client.ClientCache what's the difference between these two methods? * /** * Clears the contents of the cache. */ public void clear() throws ClientException; /** * Rem