[infinispan-issues] [JBoss JIRA] (ISPN-9614) Convert listeners to work with async interceptor stack
Tristan Tarrant (Jira)
issues at jboss.org
Thu Jun 20 05:07:00 EDT 2019
[ https://issues.jboss.org/browse/ISPN-9614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tristan Tarrant updated ISPN-9614:
----------------------------------
Sprint: ISPN+RHDG Sprint #29
> Convert listeners 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: Will Burns
> Assignee: Will Burns
> Priority: Major
> 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