Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1268 Implement back pressure for asynchronous cursor
  3. JAVA-1556

Ensure first() uses the batch cursor to ensure only a single batch is ever called.

    XMLWordPrintableJSON

Details

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.0.0
    • None
    • None
    • None

    Description

      In async we rely on the operation returning a single result and then use into([]) to get all the results. Batch cursors can be used to enforce that theres only ever a single batch returned.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: