[JAVA-3021] Deprecate MongoClientOptions.Builder#legacyDefaults Created: 07/Oct/18  Updated: 28/Oct/23  Resolved: 09/Oct/18

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

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


 Description   

With MongoOptions now deprecated, the associated MongoClientOptions.Builder.legacyDefaults should be as well.



 Comments   
Comment by Githook User [ 09/Oct/18 ]

Author:

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

Message: Deprecate options-related DBCursor method

Deprecate:

  • addOption
  • setOption
  • resetOptions
  • getOptions

Replace with per-option methods:

  • cursorType
  • oplogReplay
  • noCursorTimeout
  • partial

JAVA-3021
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/bf76d5d80c85edaecdbdef525b1d29c7a13bc163

Comment by Githook User [ 09/Oct/18 ]

Author:

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

Message: Deprecate MongoClientOptions.Builder#legacyDefaults

JAVA-3021
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/0ba4b7233133d2a01db8d05de8cde009a5b16bd2

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