@@ -17,92 +17,6 @@ parameters of the connection URI to specify the behavior of the client.
17
17
- Type
18
18
- Description
19
19
20
- .. * - **minPoolSize**
21
- .. - integer
22
- .. - Specifies the minimum number of connections that must exist at
23
- .. any moment in a single connection pool.
24
-
25
- .. | **Default**: ``0``
26
-
27
- .. * - **maxPoolSize**
28
- .. - integer
29
- .. - Specifies the maximum number of connections that a connection
30
- .. pool can have at a given time.
31
-
32
- .. | **Default**: ``100``
33
-
34
- .. * - **waitQueueTimeoutMS**
35
- .. - integer
36
- .. - Specifies the maximum amount of time, in milliseconds that a
37
- .. thread can wait for a connection to become available.
38
-
39
- .. | **Default**: ``120000`` (120 seconds)
40
-
41
- * - **serverSelectionTimeoutMS**
42
- - integer
43
- - Specifies the maximum amount of time, in milliseconds, the driver
44
- will wait for server selection to succeed before throwing an
45
- exception.
46
-
47
- | **Default**: ``30000`` (30 seconds)
48
-
49
- * - **localThresholdMS**
50
- - integer
51
- - When communicating with multiple instances of MongoDB in a replica
52
- set, the driver will only send requests to a server whose
53
- response time is less than or equal to the server with the fastest
54
- response time plus the local threshold, in milliseconds.
55
-
56
- | **Default**: ``15``
57
-
58
- * - **heartbeatFrequencyMS**
59
- - integer
60
- - Specifies the frequency, in milliseconds that the driver will
61
- wait between attempts to determine the current state of each
62
- server in the cluster.
63
-
64
- | **Default**: ``10000`` (10 seconds)
65
-
66
- * - **replicaSet**
67
- - string
68
- - Specifies that the :ref:`connection string <connection-uri>`
69
- provided includes multiple hosts. When specified, the driver
70
- attempts to find all members of that set.
71
-
72
- | **Default**: ``null``
73
-
74
- * - **ssl**
75
- - boolean
76
- - Specifies that all communication with MongoDB instances must
77
- use TLS/SSL. Superseded by the **tls** option.
78
-
79
- | **Default**: ``false``
80
-
81
- * - **tls**
82
- - boolean
83
- - Specifies that all communication with MongoDB instances must
84
- use TLS. Supersedes the **ssl** option.
85
-
86
- | **Default**: ``false``
87
-
88
- * - **tlsInsecure**
89
- - boolean
90
- - Specifies that the driver must allow invalid hostnames for TLS
91
- connections. Has the same effect as setting
92
- **tlsAllowInvalidHostnames** to ``true``. To configure TLS security
93
- constraints in other ways, use a
94
- :ref:`custom SSLContext <tls-custom-sslContext>`.
95
-
96
- | **Default**: ``false``
97
-
98
- * - **tlsAllowInvalidHostnames**
99
- - boolean
100
- - Specifies that the driver must allow invalid hostnames in the
101
- certificate for TLS connections. Supersedes
102
- **sslInvalidHostNameAllowed**.
103
-
104
- | **Default**: ``false``
105
-
106
20
* - **connectTimeoutMS**
107
21
- integer
108
22
- Specifies the maximum amount of time, in milliseconds, the Java
@@ -112,24 +26,6 @@ parameters of the connection URI to specify the behavior of the client.
112
26
113
27
| **Default**: ``10000`` (10 seconds)
114
28
115
- * - **socketTimeoutMS**
116
- - integer
117
- - Specifies the maximum amount of time, in milliseconds, the Java
118
- driver will wait to send or receive a request before timing out.
119
- A value of ``0`` instructs the driver to never time out while waiting
120
- to send or receive a request.
121
-
122
- | **Default**: ``0``
123
-
124
- .. * - **maxIdleTimeMS**
125
- .. - integer
126
- .. - Specifies the maximum amount of time, in milliseconds, that the driver
127
- .. allows a pooled connection to idle before closing the
128
- .. connection. A value of ``0`` indicates that there is no upper bound
129
- .. on how long the driver allows a pooled connection to be idle.
130
-
131
- .. | **Default**: ``0``
132
-
133
29
* - **maxLifeTimeMS**
134
30
- integer
135
31
- Specifies the maximum amount of time, in milliseconds, the Java
@@ -253,7 +149,6 @@ parameters of the connection URI to specify the behavior of the client.
253
149
254
150
| **Default**: ``true``
255
151
256
-
257
152
* - **retryReads**
258
153
- boolean
259
154
- Specifies that the driver must retry supported read operations
@@ -279,33 +174,6 @@ parameters of the connection URI to specify the behavior of the client.
279
174
280
175
| **Default**: ``unspecified``
281
176
282
- * - **directConnection**
283
- - boolean
284
- - Specifies that the driver must connect to the host directly.
285
-
286
- | **Default**: ``false``
287
-
288
- .. * - **maxConnecting**
289
- .. - integer
290
- .. - Specifies the maximum number of connections a pool can establish
291
- .. concurrently.
292
-
293
- .. | **Default**: ``2``
294
-
295
- * - **srvServiceName**
296
- - string
297
- - Specifies the service name of the
298
- `SRV resource records <https://www.rfc-editor.org/rfc/rfc2782>`__
299
- the driver retrieves to construct your
300
- :manual:`seed list </reference/glossary/#std-term-seed-list>`.
301
- You must use the
302
- :manual:`DNS Seed List Connection Format </reference/connection-string/#dns-seed-list-connection-format>`
303
- in your
304
- :ref:`connection URI <connection-uri>`
305
- to use this option.
306
-
307
- | **Default**: ``mongodb``
308
-
309
177
* - **proxyHost**
310
178
- string
311
179
- Specifies the SOCKS5 proxy IPv4 address, IPv6 address, or hostname.
0 commit comments