Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-9614

Convert listeners to work with async interceptor stack

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 10.0.0.Final
    • None
    • Listeners
    • None
    • DataGrid Sprint #29

    Description

      Currently a sync listener will block the thread that is notifying it. It should return a CompletableFuture to integrate properly with the async stack to be notified upon completion.

      Also we should not invoke "alien" listeners on the same thread as they could block. We should allow listener to make itself async in some manner (ie. return type is CompletableFuture<Void>).

      Attachments

        Issue Links

          Activity

            People

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: