File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -124,10 +124,12 @@ see the corresponding syntax:
124
124
:tabid: MongoClient
125
125
126
126
To specify connection pool settings in a ``MongoClientSettings`` object,
127
- chain the ``applyToConnectionPoolSettings()`` method to the ``MongoClientSettings`` builder.
127
+ chain the ``applyToConnectionPoolSettings()`` method to the ``MongoClientSettings`` builder.
128
+ Pass a ``ConnectionPoolSettings.Builder`` block as a parameter to the
129
+ ``applyToConnectionPoolSettings()`` method.
128
130
129
- The following table describes the setter methods you can use inside ``applyToConnectionPoolSettings()``
130
- to configure the connection pool:
131
+ The following table describes the setter methods you can use in a
132
+ ``ConnectionPoolSettings.Builder`` block to configure the connection pool:
131
133
132
134
.. list-table::
133
135
:widths: 40 60
@@ -175,8 +177,8 @@ see the corresponding syntax:
175
177
176
178
*Default*: ``0``
177
179
178
- To learn more about these methods, see the `applyToConnectionPoolSettings()
179
- <{+core-api+}/MongoClientSettings .Builder.html#applyToConnectionPoolSettings(com.mongodb.Block) >`__
180
+ To learn more about these methods, see the `ConnectionPoolSettings.Builder
181
+ <{+core-api+}/connection/ConnectionPoolSettings .Builder.html>`__
180
182
API documentation.
181
183
182
184
Example
You can’t perform that action at this time.
0 commit comments