[infinispan-issues] [JBoss JIRA] (ISPN-9715) Update internal embedded listeners to be non blocking

William Burns (Jira) issues at jboss.org
Tue Nov 13 14:59:00 EST 2018


William Burns created ISPN-9715:
-----------------------------------

             Summary: Update internal embedded listeners to be non blocking
                 Key: ISPN-9715
                 URL: https://issues.jboss.org/browse/ISPN-9715
             Project: Infinispan
          Issue Type: Sub-task
          Components: Core, Listeners
            Reporter: William Burns


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.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list