[infinispan-issues] [JBoss JIRA] (ISPN-9155) Clear should not emit listener notifications

William Burns (JIRA) issues at jboss.org
Mon Jun 4 10:54:00 EDT 2018


    [ https://issues.jboss.org/browse/ISPN-9155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586280#comment-13586280 ] 

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)



More information about the infinispan-issues mailing list