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

Enhance CommandDispatcher async methods to use CompletableFutures

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 14.0.0.Beta2
    • No Release
    • Clustering
    • 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.

      Attachments

        Activity

          People

            pferraro@redhat.com Paul Ferraro
            pferraro@redhat.com Paul Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: