Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-687

Make QueryResult block until all data is available

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.1.0
    • 2.1.0
    • None
    • Security Level: Public
    • None

    Description

      Instead of letting each individual method call the async streams and block separately, collect all components of the result straight up in constructor and block until they are available.
      Then each separate method only returns the already collected data, with the added benefit of being sure that all buffers are released if one of these methods is not called.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              simonbasle Simon Baslé (Inactive)
              simonbasle Simon Baslé (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty