[infinispan-issues] [JBoss JIRA] (ISPN-3644) Make isOriginLocal() an annotation property of the transactional cache event
Mircea Markus (JIRA)
jira-events at lists.jboss.org
Thu Oct 17 15:31:02 EDT 2013
[ https://issues.jboss.org/browse/ISPN-3644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12823018#comment-12823018 ]
Mircea Markus commented on ISPN-3644:
-------------------------------------
[~pferraro] if your use case is to have a listener executed only once you could use the functionality from ISPN-3201.
> Make isOriginLocal() an annotation property of the transactional cache event
> ----------------------------------------------------------------------------
>
> Key: ISPN-3644
> URL: https://issues.jboss.org/browse/ISPN-3644
> Project: Infinispan
> Issue Type: Enhancement
> Components: Listeners
> Affects Versions: 6.0.0.CR1
> Reporter: Paul Ferraro
> Assignee: Mircea Markus
>
> Like ISPN-3642, but for isOriginLocal().
> e.g.
> {code:java}
> @CacheEntryCreated(local=true, remote=false)
> public void created(CacheEntryCreatedEvent<K, V> event) {
> // This now only invoked for locally triggered cache entry creation events
> }
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list