I am a little confused on the exact difference between clear and removeAll in the IgniteCache API. In the documentation for removeAll: https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/IgniteCache.html#removeAll--, it mentions this being an expensive operation and that clear should be used instead. If we are using IgniteCache in LOCAL mode with persistence enabled, is there any effective difference between clear and removeAll besides notifying listeners? Is there ever a situation that removeAll should be used instead of clear if we don't have any listeners?
IgniteCache clear vs. removeAll
Mitchell Rathbun (BLOOMBERG/ 731 LEX) Mon, 09 Dec 2019 11:32:49 -0800
- IgniteCache clear vs. removeAll Mitchell Rathbun (BLOOMBERG/ 731 LEX)
- Re: IgniteCache clear vs. remov... Ilya Kasnacheev
