[infinispan-issues] [JBoss JIRA] (ISPN-3200) Allow KeyFilters to be applied to listeners

Dan Berindei (JIRA) jira-events at lists.jboss.org
Fri Aug 2 15:08:30 EDT 2013


     [ https://issues.jboss.org/browse/ISPN-3200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei updated ISPN-3200:
-------------------------------

    Fix Version/s: 6.0.0.Alpha3
                       (was: 6.0.0.Alpha2)

    
> Allow KeyFilters to be applied to listeners
> -------------------------------------------
>
>                 Key: ISPN-3200
>                 URL: https://issues.jboss.org/browse/ISPN-3200
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Listeners
>    Affects Versions: 5.3.0.Final
>            Reporter: Manik Surtani
>            Assignee: Mircea Markus
>              Labels: leads
>             Fix For: 6.0.0.Alpha3, 6.0.0.Final
>
>
> When registering a listener, users should be able to provide a {{KeyFilter}}, a simple interface that determines whether a listener is invoked or not based on whether the affected key(s) matches the filter.
> The proposed API may overload the {{addListener(Object listener)}} method on {{Cache}}, adding:
> {code}
>     void addListener(Object listener, KeyFilter filter);
> {code}
> where {{KeyFilter}} may be an interface that looks like:
> {code}
> public interface KeyFilter {
>    boolean match(Object key);
> }
> {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