[JAVA-1100] Deprecate DBCursor methods that expose implementation details Created: 31/Jan/14  Updated: 03/Apr/14  Resolved: 02/Feb/14

Status: Closed
Project: Java Driver
Component/s: API, Query Operations
Affects Version/s: None
Fix Version/s: 2.12.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible

 Description   

These methods expose implementation details of how cursors are implemented, and shouldn't be relied on by clients for correct behavior. It's more something that the driver should log, not expose as public API methods.

  • DBCursor#numGetMores
  • DBCursor#getSizes

They should be deprecated, and removed in a future major release.



 Comments   
Comment by Githook User [ 01/Feb/14 ]

Author:

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

Message: JAVA-1100: Deprecated DBCursor.numGetMores and DBCursor.getSizes
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/6ad8ea138b9effec2a42f37019ae0c21279d2a65

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