Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-9614 Convert listeners to work with async interceptor stack
  3. ISPN-9715

Update internal embedded listeners to be non blocking

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 10.0.0.Final
    • None
    • Core, Listeners
    • None

      With ISPN-9714 it will be possible to have a listener perform non blocking operations. Also any listener that doesn't return a CompletionStage is invoked in a different thread. We should convert all of our internal listeners to return a CompletionStage if they can, so that we don't have to incur the cost of switching threads to execute them.

      We need to ensure that all embedded listeners return a CompletionStage and never block the current thread.

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: