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

Convert listeners to work with async interceptor stack

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 10.0.0.Final
    • Component/s: Listeners
    • Labels:
      None
    • Sprint:
      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>).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  william.burns Will Burns
                  Reporter:
                  william.burns Will Burns
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: