@@ -31,10 +31,12 @@ parameters of the connection URI to specify the behavior of the client.
31
31
32
32
| **Default**: ``100``
33
33
34
- * - **waitQueueTimeoutMS**
34
+ * - **waitQueueTimeoutMS** *(deprecated)*
35
35
- integer
36
36
- Specifies the maximum amount of time, in milliseconds that a
37
- thread can wait for a connection to become available.
37
+ thread can wait for a connection to become available. Set the
38
+ :ref:`client-level timeout <java-csot>` to replace the
39
+ functionality of this deprecated option.
38
40
39
41
| **Default**: ``120000`` (120 seconds)
40
42
@@ -105,11 +107,18 @@ parameters of the connection URI to specify the behavior of the client.
105
107
106
108
* - **timeoutMS**
107
109
- integer
108
- - Specifies the time limit, in milliseconds, for the full execution
109
- of an operation. This option sets a client-level operations
110
- timeout that replaces the functionality of the ``maxTimeMS`` and
111
- ``maxCommitTimeMS`` options. To learn more, see the :ref:`java-csot`
112
- guide.
110
+ - | Specifies the time limit, in milliseconds, for the full execution
111
+ of an operation. This option sets a client-level operations
112
+ timeout that replaces the functionality of the following
113
+ deprecated options:
114
+ |
115
+ | - ``waitQueueTimeoutMS``
116
+ - ``socketTimeoutMS``
117
+ - ``wTimeoutMS``
118
+ - ``maxTimeMS``
119
+ - ``maxCommitTimeMS``
120
+ |
121
+ | To learn more, see the :ref:`java-csot` guide.
113
122
114
123
* - **connectTimeoutMS**
115
124
- integer
@@ -120,12 +129,13 @@ parameters of the connection URI to specify the behavior of the client.
120
129
121
130
| **Default**: ``10000`` (10 seconds)
122
131
123
- * - **socketTimeoutMS**
132
+ * - **socketTimeoutMS** *(deprecated)*
124
133
- integer
125
134
- Specifies the maximum amount of time, in milliseconds, the Java
126
135
driver will wait to send or receive a request before timing out.
127
136
A value of ``0`` instructs the driver to never time out while waiting
128
- to send or receive a request.
137
+ to send or receive a request. Set the :ref:`client-level timeout
138
+ <java-csot>` to replace the functionality of this deprecated option.
129
139
130
140
| **Default**: ``0``
131
141
@@ -162,12 +172,14 @@ parameters of the connection URI to specify the behavior of the client.
162
172
163
173
| **Default**: ``1``
164
174
165
- * - **wtimeoutMS**
175
+ * - **wtimeoutMS** *(deprecated)*
166
176
- integer
167
177
- Specifies a time limit, in milliseconds, for the write concern. For
168
178
more information, see the server documentation for the
169
179
:manual:`wtimeoutMS option </reference/connection-string/#write-concern-options>`.
170
- A value of ``0`` instructs the driver to never time out write operations.
180
+ A value of ``0`` instructs the driver to never time out write operations. Set the
181
+ :ref:`client-level timeout <java-csot>` to replace the
182
+ functionality of this deprecated option.
171
183
172
184
| **Default**: ``0``
173
185
0 commit comments