-
Type:
Enhancement
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: No Release
-
Fix Version/s: 14.0.0.Beta2
-
Component/s: Clustering
-
Labels:None
-
Git Pull Request:
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.