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

Radim Vansa (JIRA) issues at jboss.org
Mon Jun 25 10:44:01 EDT 2018


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

Radim Vansa edited comment on ISPN-9155 at 6/25/18 10:43 AM:
-------------------------------------------------------------

[~galder.zamarreno] Hmm, the timestamp does not seem like having too many beers before typing that :) Anyway, I meant that I wouldn't change the semantics of *embedded* {{clear()}} as this could break integrations or complex use cases. I wouldn't mind too much in case of *remote* as I don't expect anyone to really invoke that in production. We can handle the indexing separately, wiping out the indices without relying on the listeners.


was (Author: rvansa):
[~galder.zamarreno] Hmm, the timestamp does not seem like having too many beers before typing that :) Anyway, I meant that I wouldn't change the semantics of *embedded* {{clear()}} as this could break integrations or complex use cases. I wouldn't mind too much in case of *remote* as I don't expect anyone (but indexing) to really invoke that in production. We can handle the indexing separately, wiping out the indices without relying on 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.4.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