[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: |
|
||||||||
| 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? |
||||||||
| 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. |