[jboss-jira] [JBoss JIRA] Commented: (JGRP-1030) return custom Future that allows listeners for when the Future is complete
Bela Ban (JIRA)
jira-events at lists.jboss.org
Sat Jan 16 11:11:27 EST 2010
[ https://jira.jboss.org/jira/browse/JGRP-1030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12506486#action_12506486 ]
Bela Ban commented on JGRP-1030:
--------------------------------
This is more or less done, I copied Manik's interfaces. However, 1 change is that only 1 FutureListener can be set. This is to avoid having to add a list to an (already large) request...
> return custom Future that allows listeners for when the Future is complete
> --------------------------------------------------------------------------
>
> Key: JGRP-1030
> URL: https://jira.jboss.org/jira/browse/JGRP-1030
> Project: JGroups
> Issue Type: Feature Request
> Affects Versions: 2.8
> Reporter: Michael Newcomb
> Assignee: Bela Ban
> Fix For: 2.9
>
>
> MessageDispatcher.*WithFuture() calls should return a custom Future (that extends java.util.concurrent.Future) which gives you the ability to register a listener for when the Future has been completed. When the value is finally set (or member suspected) on the GroupRequest it could just notify any registered listeners that the request is complete.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list