[JAVA-5087] Refactor OperationHelper & CommandOperationHelper Created: 27/Jul/23  Updated: 28/Oct/23  Resolved: 07/Aug/23

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

Type: Improvement Priority: Unknown
Reporter: Ross Lawley Assignee: Ross Lawley
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by JAVA-5086 CSOT: Add ClientSideOperationTimeout ... Closed
Epic Link: Client Side Operations Timeout
Quarter: FY24Q2
Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

Currently, the operation and command helpers cover both Async and Sync usage. The file is cumbersome to use and sync and async methods are mixed together.

Split out the logic into specific helpers, which will reduce the cognitive load using these helpers and help with future CSOT work when introducing the ClientSideOperationTimeout



 Comments   
Comment by Githook User [ 07/Aug/23 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Fix stragglers

Reorganized Async & Sync OperationHelpers (#1169)

Normalized some naming conventions (mainly async oddities)
Removed any unused code

JAVA-5087
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/cfc8035b0f495f1d0e0ee41609b88a32ae75a4b5

Comment by Githook User [ 07/Aug/23 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross@mongodb.com', 'username': 'rozza'}

Message: Reorganized Async & Sync OperationHelpers (#1169)

Normalized some naming conventions (mainly async oddities)
Removed any unused code

JAVA-5087
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/869610dd2452194d514d456623f51a438b4870fa

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