Yes, that’s the removeAll method! There’s another method signature, one that 
accepts a parameter:
public void removeAll(Set<? extends K> keys) throws TransactionException;
There are a few ways to update multiple entries. You can always use the SQL 
UPDATE commend, but the equivalent to removeAll() is invokeAll();
public <T> Map<K, EntryProcessorResult<T>> invokeAll(Set<? extends K> keys,
    EntryProcessor<K, V, T> entryProcessor, Object... args) throws 
TransactionException;
Regards,
Stephen

> On 18 May 2020, at 08:55, nithin91 
> <nithinbharadwaj.govindar...@franklintempleton.com> wrote:
> 
> The method mentioned in the API is cache.removeAll() which removes  all the
> elements is the cache but i want to remove certain entries from cache at
> once like cache.removeAll(List of Keys). is there any such method or
> efficient way to remove  entries corresponding to List of Keys at once .
> 
> *Similarly is there any such method or efficient way to update entries
> corresponding to List of Keys at once .*
> 
> 
> 
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Reply via email to