[JBoss JIRA] (ISPN-3644) Make isOriginLocal() a property of the transactional cache event annotations
by Paul Ferraro (JIRA)
Paul Ferraro created ISPN-3644:
----------------------------------
Summary: Make isOriginLocal() a property of the transactional cache event annotations
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.
@CacheEntryCreated(local=true, remote=false)
public void created(CacheEntryCreatedEvent<K, V> event) {
// This now only invoked for locally triggered cache entry creation events
}
--
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
12 years, 2 months
[JBoss JIRA] (ISPN-3642) make isPre() an annotation on the @Lister API
by Mircea Markus (JIRA)
[ https://issues.jboss.org/browse/ISPN-3642?page=com.atlassian.jira.plugin.... ]
Mircea Markus updated ISPN-3642:
--------------------------------
Description:
the users should be able to configure @Listeners like this:
{code:java}
@Listener(pre=true, after=false)
public void entryCreated(CacheEntryEvent e) {
//e.isPre() is no longer needed here
}
{code}
was:
the users should be able to configure @Listeners like this:
@Listener(pre=true, after=false)
public void entryCreated(CacheEntryEvent e) {
//e.isPre() is no longer needed here
}
> make isPre() an annotation on the @Lister API
> ----------------------------------------------
>
> Key: ISPN-3642
> URL: https://issues.jboss.org/browse/ISPN-3642
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core API
> Reporter: Mircea Markus
> Assignee: Mircea Markus
>
> the users should be able to configure @Listeners like this:
> {code:java}
> @Listener(pre=true, after=false)
> public void entryCreated(CacheEntryEvent e) {
> //e.isPre() is no longer needed here
> }
> {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
12 years, 2 months