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 <[email protected]>: > 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; > > > > /** > * Removes all of the mappings from this cache. > * <p> > * The order that the individual entries are removed is undefined. > */ > public void removeAll() throws ClientException; > > ***************************************************** > > > > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >
