[
https://issues.jboss.org/browse/ISPN-9155?page=com.atlassian.jira.plugin....
]
William Burns commented on ISPN-9155:
-------------------------------------
Sure you can use
{code}cache.keySet().stream().forEach(Cache::remove);{code}
or {code}cache.keySet().parallelStream().forEach(Cache::remove);{code}
Clear should not emit listener notifications
--------------------------------------------
Key: ISPN-9155
URL:
https://issues.jboss.org/browse/ISPN-9155
Project: Infinispan
Issue Type: Enhancement
Components: Listeners, Remote Protocols
Reporter: Galder ZamarreƱo
Labels: redhat-summit-18
JCache does not emit notifications on clear(). We shouldn't either.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)