Will Burns created ISPN-11741:
---------------------------------
Summary: Evaulate if Stream#peek and Stream#forEach should be ran in blocking
thread
Key: ISPN-11741
URL:
https://issues.redhat.com/browse/ISPN-11741
Project: Infinispan
Issue Type: Enhancement
Components: Core, Streams
Reporter: Will Burns
The peek and forEach consumers for both CacheStream and LockedStream can be ran on non
blocking threads. Since these consumers are designed with blocking API in mind they may
very well invoke methods that will block the current thread.
We should either make sure that these consumers never invoke blocking methods or possibly
run these methods in a blocking thread and resume again on a non blocking thread.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)