[jboss-jira] [JBoss JIRA] (WFLY-9842) Enhance CommandDispatcher's async methods to return CompletableFutures
Paul Ferraro (JIRA)
issues at jboss.org
Thu Feb 15 18:56:00 EST 2018
[ https://issues.jboss.org/browse/WFLY-9842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Ferraro updated WFLY-9842:
-------------------------------
Description:
This allows consumers of CommandDispatcher to implement non-blocking handling of dispatched commands.
The submitOnNode(...) method can just be modified to return the more specific return value. However, the submitOnCluster(...) will need a different method name (or signature).
The MessageDispatcher in JGroups 4 now returns CompletableFutures natively, which means we can easily support this without the addition of yet another thread pool.
was:
This allows consumers of CommandDispatcher to implement non-blocking handling of dispatched commands.
The submitOnNode(...) method can just be modified to return the more specific return value. However, the submitOnCluster(...) will need a different method name (or signature).
> Enhance CommandDispatcher's async methods to return CompletableFutures
> ----------------------------------------------------------------------
>
> Key: WFLY-9842
> URL: https://issues.jboss.org/browse/WFLY-9842
> Project: WildFly
> Issue Type: Enhancement
> Components: Clustering
> Affects Versions: No Release
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
>
> This allows consumers of CommandDispatcher to implement non-blocking handling of dispatched commands.
> The submitOnNode(...) method can just be modified to return the more specific return value. However, the submitOnCluster(...) will need a different method name (or signature).
> The MessageDispatcher in JGroups 4 now returns CompletableFutures natively, which means we can easily support this without the addition of yet another thread pool.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list