[JAVA-5170] Update Bindings to include CSOT Created: 20/Sep/23  Updated: 29/Sep/23  Resolved: 29/Sep/23

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

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

Issue Links:
Related
related to JAVA-5176 Remove Timeout Settings from Operations In Progress
Epic Link: Client Side Operations Timeout
Quarter: FY24Q2, FY24Q3
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 bindings have two jobs - a) create connection sources b) BindingContext implementation - provide operation based contexts.

After discussion, the binding should contain a CSOT class - so it can be passed to server selection and connection.read.

Approach chosen was to refactor BindingContext to be a supplier of all the contexts. Lift OperationContext so its available via the bindingContext and use that object to include Request/Session/Timeout contexts. This new version of OperationContext can be passed down to Cluster.selectServer and Connection.command.


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