[jboss-jira] [JBoss JIRA] (WFLY-10283) Enhance CommandDispatcher async methods to use CompletableFutures
Paul Ferraro (JIRA)
issues at jboss.org
Sat Apr 21 08:38:00 EDT 2018
Paul Ferraro created WFLY-10283:
-----------------------------------
Summary: Enhance CommandDispatcher async methods to use CompletableFutures
Key: WFLY-10283
URL: https://issues.jboss.org/browse/WFLY-10283
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