Skip to content

Commit 0dcc7c6

Browse files
committed
breaking change to socketsettings
1 parent b25b49e commit 0dcc7c6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

source/whats-new.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,19 @@ The 5.0 driver release introduces the following features:
6464
This relates to a :ref:`breaking change about Observables in this version
6565
<java-breaking-changes-v5.0-observables>`.
6666

67+
- The first parameter, time durations, of the following ``SocketSettings``
68+
builder methods is of ``long`` type:
69+
70+
- ``connectTimeout()``
71+
- ``readTimeout()``
72+
73+
In earlier versions, this parameter is of type ``int`` for both methods. To
74+
view an example that shows how to instantiate a ``SocketSettings`` instance by
75+
using these methods, see the :ref:`SocketSettings Example
76+
<java-socketsettings-example>` in the Specify MongoClient Settings guide. This
77+
correlates with a :ref:`binary breaking change
78+
<java-breaking-changes-v5.0-socketsettings>`.
79+
6780
.. _version-4.11:
6881

6982
What's New in 4.11

0 commit comments

Comments
 (0)