Implement back pressure for asynchronous cursor (JAVA-1268)

[JAVA-1556] Ensure first() uses the batch cursor to ensure only a single batch is ever called. Created: 17/Nov/14  Updated: 31/Mar/15  Resolved: 12/Jan/15

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.0

Type: Sub-task Priority: Major - P3
Reporter: Ross Lawley Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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.



 Comments   
Comment by Jeffrey Yemin [ 31/Mar/15 ]

Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.

Comment by Ross Lawley [ 18/Nov/14 ]

Done along with JAVA-1546 async work

Generated at Thu Feb 08 08:54:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.