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

Run ForEach/Peek user code on a blocking thread

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • 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)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: