Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13398

Run ForEach/Peek user code on a blocking thread

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 13.0.0.Final
    • Core, Streams
    • None

      forEach() and peek() stream methods give the application callback a Cache and allow side-effects, but do not accept a CompletionStage return value, so user code is almost forced to block.

      Because of this, the callback should run on a blocking thread.

              Unassigned Unassigned
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: