[infinispan-issues] [JBoss JIRA] (ISPN-9155) Clear should not emit listener notifications
Dan Berindei (JIRA)
issues at jboss.org
Mon Jun 4 15:14:00 EDT 2018
[ https://issues.jboss.org/browse/ISPN-9155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586387#comment-13586387 ]
Dan Berindei commented on ISPN-9155:
------------------------------------
[~galder.zamarreno] [~william.burns] I see it the other way around: the way JCache has {{cache.clear()}} and {{cache.removeAll()}}, we have {{cache.withFlags(SKIP_LISTENER_NOTIFICATIONS).clear()}} and {{cache.clear()}}. Both behaviours are available now, so why should we change {{cache.clear()}} to never invoke the listeners?
> 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
> Assignee: Galder Zamarreño
> Labels: redhat-summit-18
> Fix For: 9.3.0.CR1, 9.3.0.Final
>
>
> 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