Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9842

Enhance CommandDispatcher async methods to use CompletableFutures

    Details

    • 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

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pferraro Paul Ferraro
                Reporter:
                pferraro Paul Ferraro
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: