[infinispan-issues] [JBoss JIRA] (ISPN-3914) Add support for Group Listeners
D K (JIRA)
issues at jboss.org
Tue Jan 21 07:06:29 EST 2014
[ https://issues.jboss.org/browse/ISPN-3914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12937482#comment-12937482 ]
D K commented on ISPN-3914:
---------------------------
It would be good if it worked for Added, Modified, Removed events. But Added would possible be the main priority for me.
An example use-case would be a Concert Booking system. For example, a Booking is grouped on concert name.
A single node may have Bookings for multiple different concerts.
Group Listeners will process different concert Bookings simultaneously. However, Bookings for a particular convert must be processed in FIFO order.
> Add support for Group Listeners
> -------------------------------
>
> Key: ISPN-3914
> URL: https://issues.jboss.org/browse/ISPN-3914
> Project: Infinispan
> Issue Type: Feature Request
> Components: Listeners
> Affects Versions: 6.0.1.Final
> Reporter: D K
> Assignee: Mircea Markus
> Labels: listeners
>
> Allow Group Listeners that could handle events based on the @Group annotation within the POJO.
> A single thread from a Group Listener thread pool would handle events for a specific Group within the node.
> The Group Listener thread would need to lock the POJOs within the specific Group it is currently working on and prevent other Group Listener threads from accessing POJOs within that group.
> POJOs within a Group should be handled in FIFO order
--
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