[JAVA-3486] Prefix internal async MongoClient interface names with "Async" Created: 31/Oct/19  Updated: 28/Oct/23  Resolved: 05/Nov/19

Status: Closed
Project: Java Driver
Component/s: Internal
Affects Version/s: None
Fix Version/s: 4.0.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

Backwards Compatibility: Minor Change

 Description   

Now that the callback-based MongoClient has moved to the mongodb-driver-core module, even though it's internal (and won't appear in Javadoc) it's still public, which means that it will appear in IDE code completion. Since the class and interface names are all the same as the sync driver, it will be confusing to users of the sync driver to have them appear.

Let's prefix all the names with "Async", e.g. AsyncMongoClient, to avoid this confusion.



 Comments   
Comment by Githook User [ 15/Jan/20 ]

Author:

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

Message: Prefix callback-based MongoClient API elements with "Async"

JAVA-3486
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/66c64bd3b6ce2c95a283852984f6d51059f801cc

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