@awakestu and @dimasIMap.removeAll() does not support PartitionPredicate. PartitionPredicate was added for some specific use cases and is not yet supported by each method accepting Predicates.
As an alternative, IMap.executeOnEntries() accepts PartitionPrecicate. With that, entries can be removed from the map by setting the value to null in the EntryProcessor. Does this fit in your use-case?
@blazember, thanks for the suggestion but we were not looking for other ways of doing the same thing - we can just call keySet() with the predicate and then iterate over keys calling delete (and this is what we actually do).
Still, the fact that removeAll does not handle PartitionPredicate properly seems like an oversight not a feature than need defending :)
The removeAll javadoc does not mention anywhere that certain types of predicates are not supported and I do not see any reason not to support it properly. keySet handles it so why removeAll should not?