[JAVA-4422] Add #available method to legacy cursor API Created: 06/Dec/21  Updated: 28/Oct/23  Resolved: 09/Dec/21

Status: Closed
Project: Java Driver
Component/s: Legacy API
Affects Version/s: None
Fix Version/s: 4.5.0

Type: New Feature Priority: Minor - P4
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to JAVA-4167 Add MongoCursor#available method Closed

 Description   

Support the following methods

  1. com.mongodb.DBCursor#available
  2. com.mongodb.Cursor#available

with the same semantics as the recently added (in scope of JAVA-4167)

  1. com.mongodb.client.MongoCursor#available


 Comments   
Comment by Githook User [ 09/Dec/21 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Add #available method to legacy cursor API (#838)

The new methods are

  • com.mongodb.DBCursor#available
  • com.mongodb.Cursor#available

with the same semantics as the recently added com.mongodb.client.MongoCursor#available.

JAVA-4422
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/e4b09ae7f6e43ce429d44dadcc4d8c53e16d159b

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