Hi! This is the method you are looking for (also available in async mode):
/** * {@inheritDoc} * @throws TransactionException If operation within transaction is failed. */ @IgniteAsyncSupported @Override public void removeAll(Set<? extends K> keys) throws TransactionException; Also, you can use clearAll, to delete entries in silent mode: /** * Clears entries from the cache and swap storage, without notifying listeners or * {@link CacheWriter}s. Entry is cleared only if it is not currently locked, * and is not participating in a transaction. * * @param keys Keys to clear. * @throws IllegalStateException if the cache is {@link #isClosed()} * @throws CacheException if there is a problem during the clear */ @IgniteAsyncSupported public void clearAll(Set<? extends K> keys); Use putAll to update entries at once: /** * {@inheritDoc} * @throws TransactionException If operation within transaction is failed. */ @IgniteAsyncSupported @Override public void putAll(Map<? extends K, ? extends V> map) throws TransactionException; Cheers, Manuel. > El 18 may 2020, a las 9:55, nithin91 > <nithinbharadwaj.govindar...@franklintempleton.com> escribió: > > 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/