[infinispan-issues] [JBoss JIRA] (ISPN-893) Addtional attribute on @CacheEntryCreated to get on pre notifications only

Tristan Tarrant (JIRA) issues at jboss.org
Tue Feb 10 10:37:49 EST 2015


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

Tristan Tarrant commented on ISPN-893:
--------------------------------------

I think event annotations should have an optional "mode" parameter which can be PRE, POST or BOTH (default). 

> Addtional attribute on @CacheEntryCreated to get on pre notifications only
> -----------------------------------------------------------------------------
>
>                 Key: ISPN-893
>                 URL: https://issues.jboss.org/browse/ISPN-893
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Listeners
>    Affects Versions: 4.2.1.FINAL
>         Environment: ALL
>            Reporter: Sudheer Krishna
>            Assignee: Manik Surtani
>            Priority: Minor
>              Labels: contributor, hackathon
>
> I may have usescases where i need notifications only when isPre = true. I was expecting a parameter to be taken by @CacheEntryCreated. But this doesnt seem to take any parametres.
> Aslo i would like similar values on  @CacheEntryremoved also.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)



More information about the infinispan-issues mailing list