[infinispan-issues] [JBoss JIRA] (ISPN-9614) Convert listners to work with async interceptor stack

William Burns (Jira) issues at jboss.org
Thu Oct 18 04:28:31 EDT 2018


William Burns created ISPN-9614:
-----------------------------------

             Summary: Convert listners to work with async interceptor stack
                 Key: ISPN-9614
                 URL: https://issues.jboss.org/browse/ISPN-9614
             Project: Infinispan
          Issue Type: Enhancement
          Components: Listeners
            Reporter: William Burns
            Assignee: William Burns
             Fix For: 10.0.0.Final


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>).



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


More information about the infinispan-issues mailing list